mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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();
|
||||
|
@ -978,7 +978,10 @@ function clearFilename<?php print $formName ?>() {
|
|||
$this->htmlEndPage();
|
||||
|
||||
add_log_line(" UI::exitError error=".$error." pagetitle=".$pagetitle);
|
||||
|
||||
|
||||
if($noexit)
|
||||
return;
|
||||
|
||||
exit;
|
||||
} /* }}} */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user