Alexander Nicolaysen Sørnes : testData: Prevent accessing an undefined variable

Alexander Nicolaysen Sørnes asornes at winehq.org
Fri Jul 24 10:05:42 CDT 2009


Module: appdb
Branch: master
Commit: a23e72c7cb7a9730ba5bae5cf038a2e90cb9d5e5
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=a23e72c7cb7a9730ba5bae5cf038a2e90cb9d5e5

Author: Alexander Nicolaysen Sørnes <alexander at linux-xqqm.site>
Date:   Fri Jul 24 00:21:18 2009 +0200

testData: Prevent accessing an undefined variable

---

 include/testData.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/testData.php b/include/testData.php
index 18169da..6861e18 100644
--- a/include/testData.php
+++ b/include/testData.php
@@ -775,7 +775,7 @@ class testData{
 
         if($hResult)
         {
-            $iPrevVersion = 0;
+            $iPrevRelease = 0;
             $iIndex = -1;
             for($i = 0; $oRow = mysql_fetch_object($hResult); $i++)
             {




More information about the wine-cvs mailing list