mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-11 23:38:40 +00:00
fix escaping
This commit is contained in:
parent
b3b729f9d9
commit
ebb0f89088
|
|
@ -218,7 +218,7 @@ final class Importer extends ImporterAbstract
|
||||||
" '" . $key . "'"
|
" '" . $key . "'"
|
||||||
. \str_repeat(' ', $keyLengths[$module][$theme][$file] - \strlen($key))
|
. \str_repeat(' ', $keyLengths[$module][$theme][$file] - \strlen($key))
|
||||||
. " => '"
|
. " => '"
|
||||||
. \str_replace(['\'', '\\'], ['\\\'', '\\\\'], $values[$language] ?? '')
|
. \str_replace(['\\', '\''], ['\\\\', '\\\''], $values[$language] ?? '')
|
||||||
. "',\n"
|
. "',\n"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user