r59830 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59829‎ | r59830 | r59831 >
Date:15:18, 8 December 2009
Author:freakolowsky
Status:deferred
Tags:
Comment:
TableMod extension fix (last for today)
Modified paths:
  • /trunk/extensions/TableMod/TableMod.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TableMod/TableMod.body.php
@@ -115,7 +115,7 @@
116116 private function performActions() {
117117 global $tablemodAction, $tablemodContentChanged;
118118 if ($tablemodAction[1] == 'remove' && isset($this->index_actions['remove'])) {
119 - if ($this->index_column === 0)
 119+ if ($this->index_column == 0)
120120 unset($this->table['rows'][$tablemodAction[2]]);
121121 else {
122122 foreach ($this->table['rows'] as $rowid=>$row) {
@@ -187,9 +187,6 @@
188188 }
189189 }
190190
191 - private function generateTable() {
192 - }
193 -
194191 public function tableSave() {
195192 global $tablemodContent;
196193 $output = '{|'.$this->table['start']."\n";

Status & tagging log