aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/actions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/actions.php b/engine/lib/actions.php
index c92ed4cb7..407b99f87 100644
--- a/engine/lib/actions.php
+++ b/engine/lib/actions.php
@@ -421,7 +421,7 @@ function ajax_forward_hook($hook, $type, $reason, $params) {
//Grab any system messages so we can inject them via ajax too
$params['system_messages'] = system_messages(NULL, "");
- if (isset($params['system_messages']['errors'])) {
+ if (isset($params['system_messages']['error'])) {
$params['status'] = -1;
} else {
$params['status'] = 0;