set 'dms' in view when calling exitError()

This commit is contained in:
Uwe Steinmann 2015-04-15 16:12:44 +02:00
parent dbc7ffb4f6
commit c340006089

View File

@ -122,9 +122,10 @@ class UI extends UI_Default {
} /* }}} */
static function exitError($pagetitle, $error) {
global $theme;
global $theme, $dms;
$tmp = 'ErrorDlg';
$view = UI::factory($theme, $tmp);
$view->setParam('dms', $dms);
$view->exitError($pagetitle, $error);
}
}