ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/latest/latest.php
(Generate patch)

Comparing projects/cms/source/reports/php/latest/latest.php (file contents):
Revision 1.47 by tdb, Fri Mar 11 12:23:33 2005 UTC vs.
Revision 1.48 by tdb, Wed Mar 30 19:31:06 2005 UTC

# Line 217 | Line 217 | function showMailQ($mailqRoot, $input) {
217   # Return a preg_match result.
218   function getPregMatch($value, $input) {
219      preg_match("/$value=([^\,\}]*)[\,\}]/", $input, $matches);
220 +    if(!isset($matches[1])) {
221 +        return;
222 +    }
223      return $matches[1];
224   }
225  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines