plugins/SpecialUserFuncs.php
changeset 377 bb3e6c3bd4f4
parent 372 5bd429428101
child 387 92664d2efab8
--- 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>';
   }