ChangeSet ID: 26553 CVSROOT: /opt/cvs-commit Module name: appdb Changes by: wineowner@winehq.org 2006/07/16 12:37:23
Modified files: include : user.php
Log message: Chris Morgan cmorgan@alum.wpi.edu Fix table name case difference 'Appversion' -> 'appVersion' that was breaking a query
Patch: http://cvs.winehq.org/patch.py?id=26553
Old revision New revision Changes Path 1.78 1.79 +1 -1 appdb/include/user.php
Index: appdb/include/user.php diff -u -p appdb/include/user.php:1.78 appdb/include/user.php:1.79 --- appdb/include/user.php:1.78 16 Jul 2006 17:37:23 -0000 +++ appdb/include/user.php 16 Jul 2006 17:37:23 -0000 @@ -438,7 +438,7 @@ class User { { /* find all queued versions of applications that the user is a super maintainer of */ $hResult = query_parameters("SELECT count(*) as queued_versions FROM appVersion, appMaintainers - WHERE Appversion.queued='true' AND appMaintainers.superMaintainer ='1' + WHERE appVersion.queued='true' AND appMaintainers.superMaintainer ='1' AND appVersion.appId = appMaintainers.appId AND appMaintainers.userId ='?'", $this->iUserId); }