summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/photos.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-12-09 12:06:45 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-12-09 12:06:45 -0800
commitdfc556e8a6e2c0636a93d87bc0cdb0f85f588fd4 (patch)
tree625edab00bf512948a6d73c85aecb1759715c5a4 /modules/gallery/controllers/photos.php
parentc3a0f419c6f53fa93b47fa76f5afdc3696d64720 (diff)
Implement the RESTful interface for albums/photos/movies
Diffstat (limited to 'modules/gallery/controllers/photos.php')
-rw-r--r--modules/gallery/controllers/photos.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/controllers/photos.php b/modules/gallery/controllers/photos.php
index f2c0f5dd..455ac25c 100644
--- a/modules/gallery/controllers/photos.php
+++ b/modules/gallery/controllers/photos.php
@@ -102,8 +102,7 @@ class Photos_Controller extends Items_Controller {
log::success("content", "Updated photo", "<a href=\"{$photo->url()}\">view</a>");
message::success(
- t("Saved photo %photo_title",
- array("photo_title" => html::purify($photo->title))));
+ t("Saved photo %photo_title", array("photo_title" => html::purify($photo->title))));
print json_encode(
array("result" => "success",