appdb/include downloadurl.php

WineHQ wineowner at wine.codeweavers.com
Sun Jan 7 14:48:46 CST 2007


ChangeSet ID:	30865
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/07 14:48:46

Modified files:
	include        : downloadurl.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Fix removal of download URLs. When checked, bRemove should have a value of "true".

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

Old revision  New revision  Changes     Path
 1.2           1.3           +2 -1       appdb/include/downloadurl.php

Index: appdb/include/downloadurl.php
diff -u -p appdb/include/downloadurl.php:1.2 appdb/include/downloadurl.php:1.3
--- appdb/include/downloadurl.php:1.2	7 Jan 2007 20:48:46 -0000
+++ appdb/include/downloadurl.php	7 Jan 2007 20:48:46 -0000
@@ -87,7 +87,8 @@ class downloadurl
             for($i = 1; $oRow = mysql_fetch_object($hResult); $i++)
             {
                 $sReturn .= html_tr(array(
-                    "<input type=\"checkbox\" name=\"bRemove$oRow->id\" />",
+                    "<input type=\"checkbox\" name=\"bRemove$oRow->id\" ".
+                    "value=\"true\" />",
                     "<input type=\"text\" size=\"45\" name=\"".
                     "sDescription$oRow->id\" value=\"$oRow->description\" />",
                     "<input type=\"text\" size=\"45\" name=\"sUrl$oRow->id\" ".



More information about the wine-cvs mailing list