diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 2c2a81c56..eabb5a358 100644 --- a/functions.php +++ b/functions.php @@ -2862,8 +2862,11 @@ } else { $is_selected = ""; } + + $title = truncate_string(htmlspecialchars($line["title"]), 40); + printf("<option $is_selected value='%d'>%s</option>", - $line["id"], htmlspecialchars($line["title"])); + $line["id"], $title); } print "</select>"; |