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.37 by tdb, Sat May 18 18:15:57 2002 UTC vs.
Revision 1.38 by tdb, Sun May 19 15:42:26 2002 UTC

# Line 42 | Line 42 | function showStat($title, $value, $input) {
42      $report = $value;
43  
44      $value = getPregMatch($value, $input);
45 <    if (empty($value)) {
45 >    if (!isset($value)) {
46          $value = "<i><font color=\"#999999\">not sent</font></i>";
47      }
48      ?>
# Line 109 | Line 109 | function showBar($title, $value, $max, $units, $input,
109      if (!is_int($max)) {
110          $max = getPregMatch($max, $input);
111      }
112 <    if (empty($value) || empty($max)) {
112 >    if (!isset($value) || !isset($max)) {
113          return;
114      }
115  
# Line 213 | Line 213 | EOT;
213             $input = $input[0];
214         }
215  
216 <       if (empty($input)) {
216 >       if (!isset($input)) {
217             echo "<br><br>There are currently no latest details about <b>$machine</b>.  Please notify your i-scream server administrator if you believe this to be incorrect.";
218         }
219         else {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines