summaryrefslogtreecommitdiff
path: root/classes/dlg.php
diff options
context:
space:
mode:
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 8873a0cb9..2fa232053 100644
--- a/classes/dlg.php
+++ b/classes/dlg.php
@@ -136,7 +136,7 @@ class Dlg extends Handler_Protected {
// and add the $min_size set above
$size = round($min_size + (($value - $min_qty) * $step));
- $key_escaped = str_replace("'", "\\'", $key);
+ $key_escaped = str_replace("'", "\\'", (string)$key);
echo "<a href=\"#\" onclick=\"Feeds.open({feed:'$key_escaped'}) \" style=\"font-size: " .
$size . "px\" title=\"$value articles tagged with " .