1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-24 11:56:36 +02:00

printTagSelect: work correctly on tags with spaces

This commit is contained in:
Andrew Dolgov 2013-10-20 09:09:16 +04:00
parent 3f7d1b58e6
commit 29f7ec0ae3

View File

@ -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>";