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,