r77416 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77415‎ | r77416 | r77417 >
Date:03:09, 29 November 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added necessary initialization of variables
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_List.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/queryprinters/SMW_QP_List.php
@@ -100,6 +100,8 @@
101101 // Initialise more values
102102 $result = '';
103103 $column_width = 0;
 104+ $rows_per_column = -1; // usually unnecessary
 105+ $rows_in_cur_column = -1;
104106
105107 // Set up floating divs, if there's more than one column
106108 if ( $this->mColumns > 1 ) {

Status & tagging log