[AppDB] Fix breakage of AppDB

tony_lambregts at telusplanet.net tony_lambregts at telusplanet.net
Wed Jan 19 10:41:58 CST 2005


This time I was the cause of the AppDB Breakage (sent the wrong patch Doh!)

Paul also sent a patch to fix the issue, escapeing the quotes. This looks 
cleaner but either way will work


Change log: fix include/util.php to use ' insted of "

Files changed: include/util.php

Index: include/util.php
===================================================================
RCS file: /home/wine/appdb/include/util.php,v
retrieving revision 1.18
diff -u -r1.18 util.php
--- include/util.php	19 Jan 2005 04:59:27 -0000	1.18
+++ include/util.php	19 Jan 2005 16:33:05 -0000
@@ -99,7 +99,7 @@
      if(!$result) return;

      echo "<select name='$varname'>\n";
-    echo "<option value=" ">Choose ...</option>\n";
+    echo "<option value=' '>Choose ...</option>\n";
      while(list($value) = mysql_fetch_row($result))
      {
          if($value == $cvalue)
@@ -114,7 +114,7 @@
  {

      echo "<select name='$varname'>\n";
-    echo "<option value=" ">Choose ...</option>\n";
+    echo "<option value=' '>Choose ...</option>\n";
      $aRating = array("Gold", "Silver", "Bronze", "Garbage");
      $iMax = count($aRating);





More information about the wine-patches mailing list