summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-04-21 15:32:49 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-04-21 15:32:49 -0700
commit14683ec0e8b8b9622539990c8d56310b0e0ced21 (patch)
treea7f0f2ccb10f9e1fbdd043b2753d67630ebc2766
parent0565d9f0f92ef9bd69c38e997e7c6e6d05d56ee1 (diff)
Correct typo: change relationship to relationships
-rw-r--r--modules/gallery/helpers/items_rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/items_rest.php b/modules/gallery/helpers/items_rest.php
index 37ebb088..ab2fe927 100644
--- a/modules/gallery/helpers/items_rest.php
+++ b/modules/gallery/helpers/items_rest.php
@@ -29,7 +29,7 @@ class items_rest_Core {
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) {