MDL-45414 wiki: blank image for page index icons

This commit is contained in:
Marina Glancy 2014-05-07 15:39:36 +08:00
parent b76ae3b0ce
commit 317e98badd

View File

@ -1515,7 +1515,8 @@ function wiki_build_tree($page, $node, &$keys) {
$content = array();
static $icon = null;
if ($icon === null) {
$icon = new pix_icon('f/text-24', '');
// Substitute the default navigation icon with empty image.
$icon = new pix_icon('spacer', '');
}
$pages = wiki_get_linked_pages($page->id);
foreach ($pages as $p) {