summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-10-20 09:09:16 +0400
committerAndrew Dolgov <[email protected]>2013-10-20 09:09:16 +0400
commit29f7ec0ae3adaf947eb187812b0a689fd35a03af (patch)
treead962d82cb284a5d2208c921eabbee9852f89569 /classes/dlg.php
parent3f7d1b58e639415f0a025fe04523ddb50e3b11f8 (diff)
printTagSelect: work correctly on tags with spaces
Diffstat (limited to 'classes/dlg.php')
-rw-r--r--classes/dlg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/dlg.php b/classes/dlg.php
index cfa960d9a..d1b5745e7 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -176,7 +176,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>";