From 8bdf80982f42703e143e9a8572328f2576ffa6b6 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Sun, 16 Jul 2006 17:37:23 +0000 Subject: [PATCH] Fix table name case difference 'Appversion' -> 'appVersion' that was breaking a query --- include/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/user.php b/include/user.php index 6d8e41f..d80f8e6 100644 --- a/include/user.php +++ b/include/user.php @@ -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); }