Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0401143
)
MDL-45414 wiki: fix broken image
author
Marina Glancy
<marina@moodle.com>
Tue, 6 May 2014 03:28:48 +0000
(11:28 +0800)
committer
Marina Glancy
<marina@moodle.com>
Tue, 6 May 2014 03:34:01 +0000
(11:34 +0800)
mod/wiki/locallib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/wiki/locallib.php
b/mod/wiki/locallib.php
index
533776e
..
213d712
100644
(file)
--- a/
mod/wiki/locallib.php
+++ b/
mod/wiki/locallib.php
@@
-1513,8
+1513,10
@@
function wiki_print_upload_table($context, $filearea, $fileitemid, $deleteupload
*/
function wiki_build_tree($page, $node, &$keys) {
$content = array();
- static $icon;
- $icon = new pix_icon('f/odt', '');
+ static $icon = null;
+ if ($icon === null) {
+ $icon = new pix_icon('f/text-24', '');
+ }
$pages = wiki_get_linked_pages($page->id);
foreach ($pages as $p) {
$key = $page->id . ':' . $p->id;