com web/gcov: fix my previous bogus commit: cron/compile_resu lts.php

From: Date: Wed, 21 Nov 2012 10:35:38 +0000
Subject: com web/gcov: fix my previous bogus commit: cron/compile_resu lts.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-14981@lists.php.net to get a copy of this message
Commit: 069d7a7f0fb7e875cbe8eeeb215ac9a24810fecf Author: Nuno Lopes <nlopess@php.net> 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);

« previous php.webmaster (#14981) next »