added missing initialization for 'category not found' code path

This commit is contained in:
Daniel Kinzler 2008-07-04 20:05:29 +00:00
parent 200485740b
commit e2dc29c1f5

View file

@ -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 );