From fa43f938101ec5c5cfef24c2e4e750c7f196aa9e Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Sun, 6 Feb 2005 22:36:46 +0000 Subject: [PATCH] Fix screenshots where broken --- include/screenshot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/screenshot.php b/include/screenshot.php index f0e73bc..c38a200 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -50,7 +50,7 @@ class Screenshot { $sQuery = "SELECT ".$this->sTable.".*, appVersion.appId AS appId FROM ".$this->sTable.", appVersion WHERE ".$this->sTable.".versionId = appVersion.versionId - AND ".$this->sTableId." = ".$this->iScreenshotId." + AND ".$this->sTableId." = ".$iScreenshotId." AND type = 'image'"; if($hResult = query_appdb($sQuery)) {