Generate a true boolean and not a string so that tests against bqueued don't

return true if bqueued="false" instead of false.
This commit is contained in:
Jonathan Ernst
2005-02-24 04:49:27 +00:00
committed by WineHQ
parent db7ed9bc5a
commit 9523066655
2 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@ class Application {
$this->sKeywords = $oRow->keywords;
$this->sDescription = $oRow->description;
$this->sWebpage = $oRow->webPage;
$this->bQueued = $oRow->queued;
$this->bQueued = ($oRow->queued=="true")?true:false;
}
$this->aVersionsIds[] = $oRow->versionId;
}
@@ -86,7 +86,7 @@ class Application {
$this->sKeywords = $oRow->keywords;
$this->sDescription = $oRow->description;
$this->sWebpage = $oRow->webPage;
$this->bQueued = $oRow->queued;
$this->bQueued = ($oRow->queued=="true")?true:false;
}
}