fixed PHP error

This commit is contained in:
Roland Gruber 2016-12-20 22:12:31 +01:00
parent 3fc092b3b7
commit d510dc58c1
1 changed files with 2 additions and 1 deletions

View File

@ -212,7 +212,8 @@ function lamRunLamdaemonTestSuite($serverName, $serverTitle, $testQuota, $contai
// check Unix account of LAM admin
$credentials = $_SESSION['ldap']->decrypt_login();
if (!$stopTest) {
if (empty($_SESSION['config']->getScriptUserName())) {
$scriptUserName = $_SESSION['config']->getScriptUserName();
if (empty($scriptUserName)) {
$container->addElement(new htmlOutputText(_("Unix account")));
$container->addElement($spacer);
$unixOk = false;