mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
pass $dms to view for error message
This commit is contained in:
parent
62095c443b
commit
068bd9a3f9
|
@ -31,9 +31,8 @@ include("../inc/inc.ClassController.php");
|
|||
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||
|
||||
function _printMessage($heading, $message) {
|
||||
|
||||
global $theme;
|
||||
$view = UI::factory($theme, 'ErrorDlg');
|
||||
global $dms, $theme;
|
||||
$view = UI::factory($theme, 'ErrorDlg', array('dms'=>$dms));
|
||||
$view->exitError($heading, $message, true);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user