diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-18 15:34:23 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-05-18 15:34:23 +0000 |
commit | 97d7421baea83266f611bcc3534840dd146cdec1 (patch) | |
tree | 6398b1d8fd336114f06d7a4c555903059499c3f7 /views/json/canvas | |
parent | 930adeffe8d65c911f04fb37ca3cc65df3ed02e5 (diff) | |
download | elgg-97d7421baea83266f611bcc3534840dd146cdec1.tar.gz elgg-97d7421baea83266f611bcc3534840dd146cdec1.tar.bz2 |
Updating the core JSON views to allow for proper object export.
git-svn-id: http://code.elgg.org/elgg/trunk@6086 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/json/canvas')
-rw-r--r-- | views/json/canvas/default.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/json/canvas/default.php b/views/json/canvas/default.php index a7df72778..b5ea51aa7 100644 --- a/views/json/canvas/default.php +++ b/views/json/canvas/default.php @@ -9,5 +9,8 @@ * @link http://elgg.org/ */ - -global $jsonexport;
\ No newline at end of file +for ($i = 1; $i < 8; $i++) { + if (isset($vars["area{$i}"])) { + echo $vars["area{$i}"]; + } +} |