mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
Merge branch 'w29_MDL-28384_m22_nullurl' of git://github.com/skodak/moodle
This commit is contained in:
commit
1f70ee662e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue