]> git.wh0rd.org - tt-rss.git/blobdiff - classes/dlg.php
Merge pull request #403 from dzaikos/patch-leading-space-urls
[tt-rss.git] / classes / dlg.php
index cfa960d9aecc04f375abe5eb4a739841d1e45610..25a194bed5546aef134ec41059c77b10aa9bda69 100644 (file)
@@ -16,7 +16,6 @@ class Dlg extends Handler_Protected {
                print __("If you have imported labels and/or filters, you might need to reload preferences to see your new data.") . "</p>";
 
                print "<div class=\"prefFeedOPMLHolder\">";
-               $owner_uid = $_SESSION["uid"];
 
                $this->dbh->query("BEGIN");
 
@@ -176,7 +175,7 @@ class Dlg extends Handler_Protected {
 
                while ($row = $this->dbh->fetch_assoc($result)) {
                        $tmp = htmlspecialchars($row["tag_name"]);
-                       print "<option value=\"" . str_replace(" ", "%20", $tmp) . "\">$tmp</option>";
+                       print "<option value=\"$tmp\">$tmp</option>";
                }
 
                print "</select>";