summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index f2fa61b6f..40abd4132 100644
--- a/functions.php
+++ b/functions.php
@@ -4216,6 +4216,8 @@
print "<div id=\"headlinesInnerContainer\" onscroll=\"headlines_scroll_handler()\">";
}
+ $headlines_count = db_num_rows($result);
+
if (db_num_rows($result) > 0) {
# print "\{$offset}";
@@ -4464,7 +4466,7 @@
print "</div>";
}
- return $topmost_article_ids;
+ return array($topmost_article_ids, $headlines_count);
}
// from here: http://www.roscripts.com/Create_tag_cloud-71.html