Skip to content

Commit

Permalink
Correct typo: change relationship to relationships
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Almdal committed Apr 21, 2010
1 parent 0565d9f commit 14683ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gallery/helpers/items_rest.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 14683ec

Please sign in to comment.