Url constructor should use the id from the database query as the $iUrlId argument to the
constructor doesn't need to be valid
This commit is contained in:
committed by
WineHQ
parent
c8b0ff974a
commit
74ccc53af3
@@ -39,7 +39,7 @@ class Url {
|
||||
// we are working on an existing url
|
||||
if($oRow)
|
||||
{
|
||||
$this->iUrlId = $iUrlId;
|
||||
$this->iUrlId = $oRow->id;
|
||||
$this->sDescription = $oRow->description;
|
||||
$this->iAppId = $oRow->appId;
|
||||
$this->iVersionId = $oRow->versionId;
|
||||
|
||||
Reference in New Issue
Block a user