mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
use !empty to avoid error
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1623 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
a0cf264976
commit
e39510726a
@ -84,7 +84,7 @@ if (defined('POSTFIXADMIN_CLI')) {
|
||||
|
||||
require_once("$incpath/languages/" . $language . ".lang");
|
||||
|
||||
if($CONF['language_hook'] != '' && function_exists($CONF['language_hook'])) {
|
||||
if(!empty($CONF['language_hook']) && function_exists($CONF['language_hook'])) {
|
||||
$hook_func = $CONF['language_hook'];
|
||||
$PALANG = $hook_func ($PALANG, $language);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user