mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX fixed php notice
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52178 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
74411aa4f2
commit
74cef69ae1
@ -1142,7 +1142,7 @@ class i18n extends Controller {
|
|||||||
|
|
||||||
// Entity redeclaration check
|
// Entity redeclaration check
|
||||||
if (isset($callMap["$index--$entity"]))
|
if (isset($callMap["$index--$entity"]))
|
||||||
echo "Warning! Redeclaring entity $entity in file $file (previously declared in {$callMap["$class--$entity"]})<br>";
|
echo "Warning! Redeclaring entity $entity in file $file (previously declared in {$callMap["$index--$entity"]})<br>";
|
||||||
|
|
||||||
if (substr($regs[2],0,1) == '"') $regs[2] = addcslashes($regs[2],'\'');
|
if (substr($regs[2],0,1) == '"') $regs[2] = addcslashes($regs[2],'\'');
|
||||||
$mst .= '$lang[\'en_US\'][\'' . $index . '\'][\'' . $entity . '\'] = ';
|
$mst .= '$lang[\'en_US\'][\'' . $index . '\'][\'' . $entity . '\'] = ';
|
||||||
|
Loading…
Reference in New Issue
Block a user