summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-18 12:21:10 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-18 12:21:10 -0800
commiteb55a3c9776d27eb8525c3cf1718456a19258936 (patch)
treee58a23a510d2499b7f39c4e2e4ed4f8e256d0872
parentcd0bf67441e8de9f32342dd0fb486976a8661d8b (diff)
Add the name field to remote interface.
-rw-r--r--modules/gallery/helpers/gallery_rest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/gallery_rest.php b/modules/gallery/helpers/gallery_rest.php
index 5d4fcd45..6fad2fc2 100644
--- a/modules/gallery/helpers/gallery_rest.php
+++ b/modules/gallery/helpers/gallery_rest.php
@@ -33,6 +33,7 @@ class gallery_rest_Core {
}
$response_data = array("type" => $item->type,
+ "name" => $item->name,
"path" => $item->relative_url(),
"title" => $item->title,
"thumb_url" => $item->thumb_url(true),