Groups
Groups
Sign in
Groups
Groups
wikipathways-commit
Conversations
About
Send feedback
Help
r2003 - trunk/wpi/extensions
1 view
Skip to first unread message
martijn....@bigcat.unimaas.nl
unread,
Jul 3, 2017, 7:44:54 PM
7/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wikipathw...@googlegroups.com
Author: AlexanderPico
Date: Tue Jul 4 03:31:48 2017
New Revision: 2003
Log:
fixed recentchanges discussion display bug
Modified:
trunk/wpi/extensions/recentChangesBox.php
Modified: trunk/wpi/extensions/recentChangesBox.php
==============================================================================
--- trunk/wpi/extensions/recentChangesBox.php (original)
+++ trunk/wpi/extensions/recentChangesBox.php Tue Jul 4 03:31:48 2017
@@ -57,8 +57,10 @@
$html = "<TABLE class='{$this->cssClass}' $style>";
foreach(array_keys($this->rows) as $date) {
- $html .= "<TR class='recentChangesBoxDate'><TD colspan='2'>$date";
- $html .= $this->rows[$date];
+ if($this->rows[$date] != ''){ #skip blank returns from formatRow()
+ $html .= "<TR class='recentChangesBoxDate'><TD colspan='2'>$date";
+ $html .= $this->rows[$date];
+ }
}
$html .= "</TABLE>";
Reply all
Reply to author
Forward
0 new messages