Merge branch 'MDL-30837-21' of https://github.com/FMCorz/moodle into MOODLE_21_STABLE

This commit is contained in:
Sam Hemelryk
2012-06-06 10:59:34 +12:00
+1 -1
View File
@@ -153,7 +153,7 @@ class navigation_node implements renderable {
$this->shorttext = $properties['shorttext'];
}
if (!array_key_exists('icon', $properties)) {
$properties['icon'] = new pix_icon('i/navigationitem', 'moodle');
$properties['icon'] = new pix_icon('i/navigationitem', '');
}
$this->icon = $properties['icon'];
if ($this->icon instanceof pix_icon) {