diff options
author | Andrew Dolgov <[email protected]> | 2013-10-20 09:09:16 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-10-20 09:09:16 +0400 |
commit | 29f7ec0ae3adaf947eb187812b0a689fd35a03af (patch) | |
tree | ad962d82cb284a5d2208c921eabbee9852f89569 /classes | |
parent | 3f7d1b58e639415f0a025fe04523ddb50e3b11f8 (diff) |
printTagSelect: work correctly on tags with spaces
Diffstat (limited to 'classes')
-rw-r--r-- | classes/dlg.php | 2 |
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>"; |