appdb/include appData.php

WineHQ wineowner at wine.codeweavers.com
Wed May 30 21:44:51 CDT 2007


ChangeSet ID:	31151
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/05/30 21:44:51

Modified files:
	include        : appData.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Avoid some warnings in the appData class

Patch: http://cvs.winehq.org/patch.py?id=31151

Old revision  New revision  Changes     Path
 1.20          1.21          +6 -0       appdb/include/appData.php

Index: appdb/include/appData.php
diff -u -p appdb/include/appData.php:1.20 appdb/include/appData.php:1.21
--- appdb/include/appData.php:1.20	31 May 2007  2:44:51 -0000
+++ appdb/include/appData.php	31 May 2007  2:44:51 -0000
@@ -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,



More information about the wine-cvs mailing list