mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
force exitError() to not exit
added optional parameter noexit
This commit is contained in:
parent
e775437f74
commit
598be765c6
|
@ -963,7 +963,7 @@ function clearFilename<?php print $formName ?>() {
|
|||
echo "</div>\n";
|
||||
} /* }}} */
|
||||
|
||||
function exitError($pagetitle,$error) { /* {{{ */
|
||||
function exitError($pagetitle, $error, $noexit=false) { /* {{{ */
|
||||
|
||||
$this->htmlStartPage($pagetitle);
|
||||
$this->globalNavigation();
|
||||
|
@ -979,6 +979,9 @@ function clearFilename<?php print $formName ?>() {
|
|||
|
||||
add_log_line(" UI::exitError error=".$error." pagetitle=".$pagetitle);
|
||||
|
||||
if($noexit)
|
||||
return;
|
||||
|
||||
exit;
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user