r2003 - trunk/wpi/extensions

1 view
Skip to first unread message

martijn....@bigcat.unimaas.nl

unread,
Jul 3, 2017, 7:44:54 PM7/3/17
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