From 97d7421baea83266f611bcc3534840dd146cdec1 Mon Sep 17 00:00:00 2001 From: nickw Date: Tue, 18 May 2010 15:34:23 +0000 Subject: 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 --- views/json/canvas/default.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'views/json/canvas/default.php') 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}"]; + } +} -- cgit v1.2.3