diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.php b/functions.php index 22ea8cb67..1ca8169af 100644 --- a/functions.php +++ b/functions.php @@ -882,6 +882,8 @@ $entry_author_item = $item->get_author(); $entry_author = $entry_author_item->get_name(); if (!$entry_author) $entry_author = $entry_author_item->get_email(); + + $entry_author = db_escape_string($entry_author); } } else { $entry_comments = strip_tags($item["comments"]); |