--- a/plugins/SpecialUserFuncs.php Sat Jan 26 11:51:19 2008 -0500
+++ b/plugins/SpecialUserFuncs.php Sat Jan 26 15:42:32 2008 -0500
@@ -1071,7 +1071,7 @@
echo ' <th>' . $lang->get('history_col_actions') . '</th>
</tr>';
}
- ++$$current;
+ $$current++;
$cls = ( $cls == 'row1' ) ? 'row2' : 'row1';
echo '<tr>';
@@ -1162,7 +1162,10 @@
if ( $current == 'cnt_edits' )
{
// no "other" edits, close the table
- echo '</table></div>';
+ if ( $cnt_edits > 0 )
+ echo '</table></div>';
+ else
+ echo '<p>' . $lang->get('userfuncs_contribs_msg_no_edits') . '</p>';
echo '<h3>' . $lang->get('userfuncs_contribs_heading_other') . '</h3>';
echo '<p>' . $lang->get('userfuncs_contribs_msg_no_other') . '</p>';
}