--- projects/cms/source/reports/php/latest/latest.php 2002/05/18 18:15:57 1.37
+++ projects/cms/source/reports/php/latest/latest.php 2002/05/19 15:42:26 1.38
@@ -42,7 +42,7 @@ function showStat($title, $value, $input) {
$report = $value;
$value = getPregMatch($value, $input);
- if (empty($value)) {
+ if (!isset($value)) {
$value = "not sent";
}
?>
@@ -109,7 +109,7 @@ function showBar($title, $value, $max, $units, $input,
if (!is_int($max)) {
$max = getPregMatch($max, $input);
}
- if (empty($value) || empty($max)) {
+ if (!isset($value) || !isset($max)) {
return;
}
@@ -213,7 +213,7 @@ EOT;
$input = $input[0];
}
- if (empty($input)) {
+ if (!isset($input)) {
echo "
There are currently no latest details about $machine. Please notify your i-scream server administrator if you believe this to be incorrect.";
}
else {