Properly output error messages in AJAX mode
This commit is contained in:
parent
0a20abf1d8
commit
6de410bb6b
@ -239,7 +239,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||
$this->elementEnd('head');
|
||||
$this->elementStart('body');
|
||||
if ($this->getError()) {
|
||||
$this->element('p', array('id'=>'error'), $msg);
|
||||
$this->element('p', array('id'=>'error'), $this->getError());
|
||||
} else {
|
||||
$this->showContent();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user