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']})";