diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-30 22:06:08 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-30 22:06:08 +0000 |
commit | bea734c998d22143f7dc34f54f119b7323c35eb1 (patch) | |
tree | d670282e058d9f74a42857d8bd67d4957ecf8727 | |
parent | b472188b1e3fe4ff8a0da791910d12496b1de348 (diff) | |
download | elgg-bea734c998d22143f7dc34f54f119b7323c35eb1.tar.gz elgg-bea734c998d22143f7dc34f54f119b7323c35eb1.tar.bz2 |
Fixed ajax status for elgg.action().
git-svn-id: http://code.elgg.org/elgg/trunk@8883 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/actions.php | 2 |
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; |