aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-30 22:06:08 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-30 22:06:08 +0000
commitbea734c998d22143f7dc34f54f119b7323c35eb1 (patch)
treed670282e058d9f74a42857d8bd67d4957ecf8727 /engine
parentb472188b1e3fe4ff8a0da791910d12496b1de348 (diff)
downloadelgg-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
Diffstat (limited to 'engine')
-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;