The single quotes caused problem on the rare occasions that these

unset strings were being written to the database
This commit is contained in:
moodler 2003-05-24 02:34:29 +00:00
parent fe3b0f3a2f
commit bb515027b5

View File

@ -1010,7 +1010,7 @@ function get_string($identifier, $module="", $a=NULL) {
} else {
if ($lang == "en") {
return "[['$identifier']]";
return "[[$identifier]]";
} else { // Try looking in the english file.
$langfile = "$langpath/en/$module.php";
@ -1021,7 +1021,7 @@ function get_string($identifier, $module="", $a=NULL) {
eval($result);
return $resultstring;
} else {
return "[['$identifier']]";
return "[[$identifier]]";
}
}
}