fix php warning when login fails

This commit is contained in:
Uwe Steinmann 2017-11-07 17:50:58 +01:00
parent 4410868874
commit cc8161e353

View File

@ -33,7 +33,7 @@ include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
function _printMessage($heading, $message) { /* {{{ */
global $dms, $theme;
$view = UI::factory($theme, 'ErrorDlg', array('dms'=>$dms));
$view = UI::factory($theme, 'Login', array('dms'=>$dms));
$view->exitError($heading, $message, true);
return;
} /* }}} */