Module: appdb Branch: master Commit: 9524dac5dacaa69d020af21fd7be1f9822ad8e28 URL: http://source.winehq.org/git/appdb.git/?a=commit;h=9524dac5dacaa69d020af21fd...
Author: Alexander Nicolaysen Sørnes alex@thehandofagony.com Date: Sun Jan 20 23:10:43 2008 +0100
Fix typo in isUserSuperMaintainer()
---
include/maintainer.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/maintainer.php b/include/maintainer.php index 61ed570..61e6b6b 100644 --- a/include/maintainer.php +++ b/include/maintainer.php @@ -548,7 +548,7 @@ class maintainer $hResult = query_parameters($sQuery, $oUser->iUserId, $iAppId, 'accepted'); } else /* are we super maintainer of any applications? */ { - $sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND superMaintainer = '1' AND state'?'"; + $sQuery = "SELECT * FROM appMaintainers WHERE userid = '?' AND superMaintainer = '1' AND state = '?'"; $hResult = query_parameters($sQuery, $oUser->iUserId, 'accepted'); } if(!$hResult)