mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
fix for 4735
This commit is contained in:
parent
583dfd073d
commit
48dbefcd7d
@ -119,7 +119,7 @@
|
||||
|
||||
$first = true;
|
||||
foreach ($enstring as $key => $value) {
|
||||
if (empty($string[$key])) {
|
||||
if (empty($string[$key]) and $string[$key] != "0") { //bug fix 4735 mits
|
||||
$value = htmlspecialchars($value);
|
||||
$value = str_replace("$"."a", "\\$"."a", $value);
|
||||
$value = str_replace("%%","%",$value);
|
||||
|
Loading…
x
Reference in New Issue
Block a user