[geeklog-cvs] geeklog: User Profile Last 10 comments should not of been depend...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Mon Apr 5 12:44:53 EDT 2010
changeset 7875:d2aa069815b2
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/d2aa069815b2
user: Tom <websitemaster at cogeco.net>
date: Mon Apr 05 12:35:29 2010 -0400
description:
User Profile Last 10 comments should not of been dependant on if comments are displayed in the What's New Block
diffstat:
system/lib-plugins.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 78924a6ab0d0 -r d2aa069815b2 system/lib-plugins.php
--- a/system/lib-plugins.php Mon Apr 05 12:34:10 2010 -0400
+++ b/system/lib-plugins.php Mon Apr 05 12:35:29 2010 -0400
@@ -1992,7 +1992,7 @@
$fn_head = 'plugin_whatsnewsupported_' . $pi_name;
if (function_exists($fn_head)) {
$supported = $fn_head();
- if (is_array($supported)) {
+ if (is_array($supported) || ($numreturn > 0)) {
list($headline, $byline) = $supported;
$fn_new = 'plugin_getwhatsnewcomment_' . $pi_name;
More information about the geeklog-cvs
mailing list