Avoid some warnings in the appData class
This commit is contained in:
committed by
WineHQ
parent
cb18a07f60
commit
a2f25be661
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user