r37065 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37064‎ | r37065 | r37066 >
Date:20:05, 4 July 2008
Author:daniel
Status:old
Tags:
Comment:
added missing initialization for 'category not found' code path
Modified paths:
  • /trunk/extensions/CategoryTree/CategoryTreeFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CategoryTree/CategoryTreeFunctions.php
@@ -358,6 +358,8 @@
359359 if ( isset( $attr['class'] ) ) $attr['class'] .= ' CategoryTreeTag';
360360 else $attr['class'] = ' CategoryTreeTag';
361361
 362+ $this->init();
 363+
362364 $html = '';
363365 $html .= Xml::openElement( 'div', $attr );
364366

Status & tagging log