mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 03:43:55 +00:00
added missing initialization for 'category not found' code path
This commit is contained in:
parent
200485740b
commit
e2dc29c1f5
|
@ -358,6 +358,8 @@ class CategoryTree {
|
|||
if ( isset( $attr['class'] ) ) $attr['class'] .= ' CategoryTreeTag';
|
||||
else $attr['class'] = ' CategoryTreeTag';
|
||||
|
||||
$this->init();
|
||||
|
||||
$html = '';
|
||||
$html .= Xml::openElement( 'div', $attr );
|
||||
|
||||
|
|
Loading…
Reference in a new issue