Merge branch 'w29_MDL-28384_m20_nullurl' of git://github.com/skodak/moodle into MOODLE_20_STABLE

This commit is contained in:
Sam Hemelryk
2011-07-25 10:15:05 +08:00
+2
View File
@@ -1662,6 +1662,8 @@ function add_to_log($courseid, $module, $action, $url='', $info='', $cm=0, $user
$info = $info;
if (!empty($url)) { // could break doing html_entity_decode on an empty var.
$url = html_entity_decode($url);
} else {
$url = '';
}
// Restrict length of log lines to the space actually available in the