aboutsummaryrefslogtreecommitdiff
path: root/modules/pref-feeds.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@bah.org.ru>2009-10-09 13:45:48 +0400
committerAndrew Dolgov <fox@bah.org.ru>2009-10-09 13:45:48 +0400
commitf69281f7ebb030429a724621570524d3d03902cb (patch)
treed428a3caafcb3496ff535e9c03ec7cf39b1f9012 /modules/pref-feeds.php
parent584d3e035f616fe89df2a019cdae7ae1eb505719 (diff)
parent3af75631670aa9823010adedb8354672a8273506 (diff)
Merge branch 'master' of /home/fox/public_html/testbox/tt-rss
Diffstat (limited to 'modules/pref-feeds.php')
-rw-r--r--modules/pref-feeds.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php
index b0269243e..6b510bc9d 100644
--- a/modules/pref-feeds.php
+++ b/modules/pref-feeds.php
@@ -224,8 +224,11 @@
} else {
$is_selected = "";
}
+
+ $title = truncate_string(htmlspecialchars($tmp_line["title"]), 40);
+
printf("<option $is_selected value='%d'>%s</option>",
- $tmp_line["id"], $tmp_line["title"]);
+ $tmp_line["id"], $title);
}
print "</select>";