0
0
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:
David Goodwin 2014-01-14 16:00:42 +00:00
parent a0cf264976
commit e39510726a

View File

@ -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);
}