From 29dfb258c98e2ed4f196784e318d14b05c94a257 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 24 Aug 2007 06:31:57 +0100 Subject: fix some issues in infinite scrolling --- functions.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index f2fa61b6f..40abd4132 100644 --- a/functions.php +++ b/functions.php @@ -4216,6 +4216,8 @@ print "
"; } + $headlines_count = db_num_rows($result); + if (db_num_rows($result) > 0) { # print "\{$offset}"; @@ -4464,7 +4466,7 @@ print "
"; } - return $topmost_article_ids; + return array($topmost_article_ids, $headlines_count); } // from here: http://www.roscripts.com/Create_tag_cloud-71.html -- cgit v1.2.3-54-g00ecf