From d97afaea160b14031f0e3f5f8d0825331613e896 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Tue, 10 May 2005 02:48:02 +0000 Subject: [PATCH] Check for non-empty maintainer ratings, not non-null ones. --- include/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/version.php b/include/version.php index e2b0839..bf44e3f 100644 --- a/include/version.php +++ b/include/version.php @@ -190,7 +190,7 @@ class Version { if (!query_appdb("UPDATE appVersion SET maintainer_rating = '".$sTestedRating."' WHERE versionId = ".$this->iVersionId)) return false; - if($this->sTestedRating) + if($this->sTestedRating != "") $sWhatChanged .= "Rating was changed from ".$this->sTestedRating." to ".$sTestedRating.".\n\n"; else $sWhatChanged .= "Rating was changed to ".$sTestedRating.".\n\n";