mod-forum MDL-21590 Fixed spelling error pic_icon to pix_icon

This commit is contained in:
Sam Hemelryk
2010-02-18 05:49:36 +00:00
parent ded77f8b7f
commit 9ae71e9cc0
+1 -1
View File
@@ -8011,7 +8011,7 @@ function forum_extend_navigation($navref, $course, $module, $cm) {
$recentkey = $navref->add(get_string('recentactivity').' ('.count($recentposts).')');
$navref->get($recentkey)->mainnavonly = true;
foreach ($recentposts as $post) {
$icon = new pic_icon('i/feedback', '');
$icon = new pix_icon('i/feedback', '');
$url = new moodle_url('/mod/forum/discuss.php', array('d'=>$post->content->discussion));
$title = $post->content->subject."\n".userdate($post->timestamp, get_string('strftimerecent', 'langconfig'))."\n".$post->user->firstname.' '.$post->user->lastname;
$navref->get($recentkey)->add($title, $url, navigation_node::TYPE_SETTING, null, null, $icon);