From c8a1a0b0dfb8fef05c8edcbde0836143c3e50493 Mon Sep 17 00:00:00 2001 From: Jonathan Ernst Date: Mon, 21 Feb 2005 01:37:06 +0000 Subject: [PATCH] versions, applications, and screenshots have to be marked queued="false" instead of queued="" when added without being unqueued --- include/application.php | 2 +- include/screenshot.php | 2 +- include/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/application.php b/include/application.php index ca9ecf2..709ac9d 100644 --- a/include/application.php +++ b/include/application.php @@ -129,7 +129,7 @@ class Application { 'vendorId' => $iVendorId, 'catId' => $iCatId, 'submitterId'=> $_SESSION['current']->iUserId, - 'queued' => $this->bQueued )); + 'queued' => $this->bQueued?"true":"false" )); $sFields = "({$aInsert['FIELDS']})"; $sValues = "({$aInsert['VALUES']})"; diff --git a/include/screenshot.php b/include/screenshot.php index 3a92105..edade37 100644 --- a/include/screenshot.php +++ b/include/screenshot.php @@ -71,7 +71,7 @@ class Screenshot { $aInsert = compile_insert_string(array( 'versionId' => $iVersionId, 'type' => "image", 'description' => $sDescription, - 'queued' => $this->bQueued, + 'queued' => $this->bQueued?"true":"false", 'submitterId' => $_SESSION['current']->iUserId )); $sFields = "({$aInsert['FIELDS']})"; $sValues = "({$aInsert['VALUES']})"; diff --git a/include/version.php b/include/version.php index 94407a9..11eb66d 100644 --- a/include/version.php +++ b/include/version.php @@ -132,7 +132,7 @@ class Version { 'maintainer_rating' => $sTestedRating, 'appId' => $iAppId, 'submitterId' => $_SESSION['current']->iUserId, - 'queued' => $this->bQueued )); + 'queued' => $this->bQueued?"true":"false" )); $sFields = "({$aInsert['FIELDS']})"; $sValues = "({$aInsert['VALUES']})";