summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/functions.php b/functions.php
index 5e789bfae..d977745f9 100644
--- a/functions.php
+++ b/functions.php
@@ -324,9 +324,7 @@
$entry_link = db_escape_string($entry_link);
$entry_comments = db_escape_string($entry_comments);
- if (defined($item["slash"])) {
- $num_comments = db_escape_string($item["slash"]["comments"]);
- }
+ $num_comments = db_escape_string($item["slash"]["comments"]);
if (!$num_comments) $num_comments = 0;