1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Warning removal

This commit is contained in:
Cameron 2017-11-06 13:27:44 -08:00
parent 2c23bd6cd6
commit 8be9f64641

View File

@ -1321,7 +1321,7 @@ class lancheck
$error = array();
$warning = array();
if((!array_key_exists($def,$translation) && $eng_line != "") || (trim($trans_line) == "" && $eng_line != ""))
if((is_array($translation) && !array_key_exists($def,$translation) && $eng_line != "") || (trim($trans_line) == "" && $eng_line != ""))
{
$this->checkLog('def',1);
return $def.": ".LAN_CHECK_5."<br />";