aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--langs.inc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/langs.inc.php b/langs.inc.php
index 85ee95c95..d4bbabb87 100644
--- a/langs.inc.php
+++ b/langs.inc.php
@@ -197,10 +197,11 @@ function _lang_return($file)
if ($C === '#') continue;
if ($C === ';' && !empty($f[$k+1])) {
- $strings[trim(substr($v, 1))] = trim($f[$k+1]);
+ $j = trim(substr($v, 1));
+ $j = str_replace(array("\'", "\""), array("'", '"'), $j);
+ $strings[$j] = trim($f[$k+1]);
}
}
-
return $strings;
}