Alexander Nicolaysen =?UTF-8?Q?S=C3=B8rnes=20?=: url: Prevent use of uninitialized variable

Alexander Nicolaysen Sørnes asornes at winehq.org
Sun Jan 12 11:48:25 CST 2014


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

Author: Alexander Nicolaysen Sørnes <alexsornes at gmail.com>
Date:   Sun Jan 12 18:48:28 2014 +0100

url: Prevent use of uninitialized variable

---

 include/url.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/url.php b/include/url.php
index 9f0e3fc..539586a 100644
--- a/include/url.php
+++ b/include/url.php
@@ -281,7 +281,7 @@ class Url {
         else
             $hResult = appData::getData($oApp->iAppId, "url", FALSE);
 
-        $sReturn .= html_frame_start("URLs", "90%", "", 0);
+        $sReturn = html_frame_start("URLs", "90%", "", 0);
         $sReturn .= "<form method=\"post\" action=\"$sFormAction\">\n";
         $sReturn .= html_table_begin("border=0 cellpadding=5 cellspacing=0 width=100%");
         $sReturn .= html_tr(array(




More information about the wine-cvs mailing list