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)
|
if($sQueued === false)
|
||||||
$sQueued = "false";
|
$sQueued = "false";
|
||||||
|
|
||||||
|
$sSelectType = "";
|
||||||
|
$sLimit = "";
|
||||||
|
|
||||||
if(($sQueued == "true" || $sQueued == "all") &&
|
if(($sQueued == "true" || $sQueued == "all") &&
|
||||||
!$_SESSION['current']->hasPriv("admin"))
|
!$_SESSION['current']->hasPriv("admin"))
|
||||||
{
|
{
|
||||||
@@ -271,6 +274,9 @@ class appData
|
|||||||
if($bRejected)
|
if($bRejected)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
$sSelectType = "";
|
||||||
|
$sLimit = "";
|
||||||
|
|
||||||
if($bQueued && !$_SESSION['current']->hasPriv("admin"))
|
if($bQueued && !$_SESSION['current']->hasPriv("admin"))
|
||||||
{
|
{
|
||||||
$sQuery = "SELECT DISTINCT appData.* FROM appData, appMaintainers,
|
$sQuery = "SELECT DISTINCT appData.* FROM appData, appMaintainers,
|
||||||
|
|||||||
Reference in New Issue
Block a user