From 14683ec0e8b8b9622539990c8d56310b0e0ced21 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 21 Apr 2010 15:32:49 -0700 Subject: [PATCH] Correct typo: change relationship to relationships --- modules/gallery/helpers/items_rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gallery/helpers/items_rest.php b/modules/gallery/helpers/items_rest.php index 37ebb088ff..ab2fe9275f 100644 --- a/modules/gallery/helpers/items_rest.php +++ b/modules/gallery/helpers/items_rest.php @@ -29,7 +29,7 @@ static function get($request) { if (access::can("view", $item)) { $item_rest = array("url" => $url, "entity" => $item->as_restful_array(), - "relationship" => rest::relationships("item", $item)); + "relationships" => rest::relationships("item", $item)); if ($item->type == "album") { $members = array(); foreach ($item->children() as $child) {