From a2f25be66162cbb7b94b5c68751880e659e6c6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Thu, 31 May 2007 02:44:51 +0000 Subject: [PATCH] Avoid some warnings in the appData class --- include/appData.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/appData.php b/include/appData.php index f8f7646..58c51ce 100644 --- a/include/appData.php +++ b/include/appData.php @@ -154,6 +154,9 @@ class appData if($sQueued === false) $sQueued = "false"; + $sSelectType = ""; + $sLimit = ""; + if(($sQueued == "true" || $sQueued == "all") && !$_SESSION['current']->hasPriv("admin")) { @@ -271,6 +274,9 @@ class appData if($bRejected) return FALSE; + $sSelectType = ""; + $sLimit = ""; + if($bQueued && !$_SESSION['current']->hasPriv("admin")) { $sQuery = "SELECT DISTINCT appData.* FROM appData, appMaintainers,