summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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),