Commit:    069d7a7f0fb7e875cbe8eeeb215ac9a24810fecf
Author:    Nuno Lopes <[email protected]>         Wed, 21 Nov 2012 05:35:38 -0500
Parents:   9fe54489bb5781134a112819097b9d086f0439c5
Branches:  master

Link:       
http://git.php.net/?p=web/gcov.git;a=commitdiff;h=069d7a7f0fb7e875cbe8eeeb215ac9a24810fecf

Log:
fix my previous bogus commit

Changed paths:
  M  cron/compile_results.php


Diff:
diff --git a/cron/compile_results.php b/cron/compile_results.php
index d1e85f0..e163786 100644
--- a/cron/compile_results.php
+++ b/cron/compile_results.php
@@ -61,13 +61,14 @@ foreach ($data as $error) {
 
        // the real data starts at 6th element
        for ($i = 6; isset($error[$i]); $i += 3) {
-               // skip notes for now. they should be associated with a 
warning/error.
-               if ($type === 'note')
-                       continue;
                $line = $error[$i];
                $type = $error[$i+1] ? $error[$i+1] : 'error'; // warning or 
error (default)
                $msg  = $error[$i+2];
 
+               // skip notes for now. they should be associated with a 
warning/error.
+               if ($type === 'note')
+                       continue;
+
                if ($type === 'error') {
                        // Only send to list error messages
                        $mail_error[$filepath][] = array($function, $line, 
$msg);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to