versions, applications, and screenshots have to be marked queued="false" instead of

queued="" when added without being unqueued
This commit is contained in:
Jonathan Ernst
2005-02-21 01:37:06 +00:00
committed by WineHQ
parent 7dcde75116
commit c8a1a0b0df
3 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ class Application {
'vendorId' => $iVendorId, 'vendorId' => $iVendorId,
'catId' => $iCatId, 'catId' => $iCatId,
'submitterId'=> $_SESSION['current']->iUserId, 'submitterId'=> $_SESSION['current']->iUserId,
'queued' => $this->bQueued )); 'queued' => $this->bQueued?"true":"false" ));
$sFields = "({$aInsert['FIELDS']})"; $sFields = "({$aInsert['FIELDS']})";
$sValues = "({$aInsert['VALUES']})"; $sValues = "({$aInsert['VALUES']})";

View File

@@ -71,7 +71,7 @@ class Screenshot {
$aInsert = compile_insert_string(array( 'versionId' => $iVersionId, $aInsert = compile_insert_string(array( 'versionId' => $iVersionId,
'type' => "image", 'type' => "image",
'description' => $sDescription, 'description' => $sDescription,
'queued' => $this->bQueued, 'queued' => $this->bQueued?"true":"false",
'submitterId' => $_SESSION['current']->iUserId )); 'submitterId' => $_SESSION['current']->iUserId ));
$sFields = "({$aInsert['FIELDS']})"; $sFields = "({$aInsert['FIELDS']})";
$sValues = "({$aInsert['VALUES']})"; $sValues = "({$aInsert['VALUES']})";

View File

@@ -132,7 +132,7 @@ class Version {
'maintainer_rating' => $sTestedRating, 'maintainer_rating' => $sTestedRating,
'appId' => $iAppId, 'appId' => $iAppId,
'submitterId' => $_SESSION['current']->iUserId, 'submitterId' => $_SESSION['current']->iUserId,
'queued' => $this->bQueued )); 'queued' => $this->bQueued?"true":"false" ));
$sFields = "({$aInsert['FIELDS']})"; $sFields = "({$aInsert['FIELDS']})";
$sValues = "({$aInsert['VALUES']})"; $sValues = "({$aInsert['VALUES']})";