Skip to content

Commit

Permalink
Merge branch 'MDL-33045-master-2' of git://git.luns.net.uk/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed May 30, 2012
2 parents 378eb6f + 599f7a2 commit 2605112
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ class assign {
private $returnparams = array();

/** @var string modulename prevents excessive calls to get_string */
private static $modulename = '';
private static $modulename = null;

/** @var string modulenameplural prevents excessive calls to get_string */
private static $modulenameplural = '';
private static $modulenameplural = null;

/**
* Constructor for the base assign class
Expand Down Expand Up @@ -2368,8 +2368,8 @@ private static function format_notification_message_html($messagetype, $info, $c
global $CFG;
$posthtml = '<p><font face="sans-serif">'.
'<a href="'.$CFG->wwwroot.'/course/view.php?id='.$course->id.'">'.format_string($course->shortname, true, array('context' => $context->get_course_context())).'</a> ->'.
'<a href="'.$CFG->wwwroot.'/mod/assignment/index.php?id='.$course->id.'">'.$modulename.'</a> ->'.
'<a href="'.$CFG->wwwroot.'/mod/assignment/view.php?id='.$coursemodule->id.'">'.format_string($assignmentname, true, array('context' => $context)).'</a></font></p>';
'<a href="'.$CFG->wwwroot.'/mod/assign/index.php?id='.$course->id.'">'.$modulename.'</a> ->'.
'<a href="'.$CFG->wwwroot.'/mod/assign/view.php?id='.$coursemodule->id.'">'.format_string($assignmentname, true, array('context' => $context)).'</a></font></p>';
$posthtml .= '<hr /><font face="sans-serif">';
$posthtml .= '<p>'.get_string($messagetype . 'html', 'assign', $info).'</p>';
$posthtml .= '</font><hr />';
Expand Down

0 comments on commit 2605112

Please sign in to comment.