mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
set 'dms' in view when calling exitError()
This commit is contained in:
parent
dbc7ffb4f6
commit
c340006089
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user