From 254fc0e56574677ffa19919bac8b44f91e66f1ba Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 25 Apr 2012 10:08:53 +0000 Subject: [PATCH] fix issue for changed default param for emailadmin_bo contructor; always use setDefaultProfile if there is NO profile available at all; fix issue regarding missing control of group ownership on edit.general --- setup/setup-cli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/setup-cli.php b/setup/setup-cli.php index 21ade2ad12..c8346dc1f9 100755 --- a/setup/setup-cli.php +++ b/setup/setup-cli.php @@ -209,7 +209,7 @@ function do_emailadmin() } $config['smtpAuth'] = $config['smtp_auth_user'] ? 'yes' : null; - $emailadmin = new emailadmin_bo(-1,false); // false=no session stuff + $emailadmin = new emailadmin_bo(false,false); // false=no session stuff $emailadmin->setDefaultProfile($config); echo "\n".lang('EMailAdmin profile updated:')."\n";