MDL-29442 add missing utf-8 to entity html encoding and decoding

This commit is contained in:
Petr Škoda
2012-12-09 18:22:16 +01:00
parent 325e266e95
commit f48902e139
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -1802,7 +1802,7 @@ function add_to_log($courseid, $module, $action, $url='', $info='', $cm=0, $user
$timenow = time();
$info = $info;
if (!empty($url)) { // could break doing html_entity_decode on an empty var.
$url = html_entity_decode($url);
$url = html_entity_decode($url, ENT_QUOTES, 'UTF-8');
} else {
$url = '';
}