Skip to content

Commit

Permalink
Merge branch 'w29_MDL-28384_m21_nullurl' of git://github.com/skodak/m…
Browse files Browse the repository at this point in the history
…oodle into MOODLE_21_STABLE
  • Loading branch information
Sam Hemelryk committed Jul 25, 2011
2 parents 6e48852 + 50ecbad commit b1591c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/datalib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1591c6

Please sign in to comment.