Workaround on possible error
This commit is contained in:
parent
e4a1286aae
commit
90a9febb6c
@ -26,7 +26,8 @@
|
|||||||
|
|
||||||
$out = "";
|
$out = "";
|
||||||
$infile = file($pofile);
|
$infile = file($pofile);
|
||||||
$k="";
|
$k = "";
|
||||||
|
$c = "";
|
||||||
$ink = False;
|
$ink = False;
|
||||||
foreach ($infile as $l) {
|
foreach ($infile as $l) {
|
||||||
|
|
||||||
@ -39,8 +40,10 @@
|
|||||||
$v = App::$strings[$k];
|
$v = App::$strings[$k];
|
||||||
} else {
|
} else {
|
||||||
$k = "__ctx:".$c."__ ".$k;
|
$k = "__ctx:".$c."__ ".$k;
|
||||||
if (isset(App::$strings[$k]))
|
if (isset(App::$strings[$k])) {
|
||||||
$v = App::$strings[$k];
|
$v = App::$strings[$k];
|
||||||
|
$c = "";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (!empty($v)) {
|
if (!empty($v)) {
|
||||||
if (is_array($v)) {
|
if (is_array($v)) {
|
||||||
|
Reference in New Issue
Block a user