diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 18:44:54 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-04 18:44:54 +0000 |
commit | 93e99d5a0080f6ef89192b7d406e013a3b9fe48f (patch) | |
tree | 131373d5de5108aa6b62e4b5c2913f2ed932393d /views/json/messages/exceptions | |
parent | d8d330a7c40975fce62e0fc6b5473ff6844f6384 (diff) | |
download | elgg-93e99d5a0080f6ef89192b7d406e013a3b9fe48f.tar.gz elgg-93e99d5a0080f6ef89192b7d406e013a3b9fe48f.tar.bz2 |
JSON feeds now work. Fixes #716
git-svn-id: https://code.elgg.org/elgg/trunk@2650 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json/messages/exceptions')
-rw-r--r-- | views/json/messages/exceptions/exception.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/json/messages/exceptions/exception.php b/views/json/messages/exceptions/exception.php index 76fb3aea3..55a61f0ff 100644 --- a/views/json/messages/exceptions/exception.php +++ b/views/json/messages/exceptions/exception.php @@ -15,6 +15,7 @@ $export = $vars['object']; - - echo json_encode("$export"); + global $jsonexport;
+ $jsonexport['exceptions'][] = $export;
+ ?>
\ No newline at end of file |