ChangeSet ID: 31181 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2007/06/10 20:08:21
Modified files: include : url.php
Log message: Alexander Nicolaysen Sørnes alex@thehandofagony.com Url constructor should use the id from the database query as the $iUrlId argument to the constructor doesn't need to be valid
Patch: http://cvs.winehq.org/patch.py?id=31181
Old revision New revision Changes Path 1.18 1.19 +1 -1 appdb/include/url.php
Index: appdb/include/url.php diff -u -p appdb/include/url.php:1.18 appdb/include/url.php:1.19 --- appdb/include/url.php:1.18 11 Jun 2007 1: 8:21 -0000 +++ appdb/include/url.php 11 Jun 2007 1: 8:21 -0000 @@ -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;