diff options
| author | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 21:53:17 -0700 |
|---|---|---|
| committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-31 21:53:17 -0700 |
| commit | 5ca13fe5e83ec7d6dcc1f5d2ac19a3f4ebfc782c (patch) | |
| tree | 97af25c2c15606e371d690459c7c0eb9d222b7bf /modules/gallery/controllers/photos.php | |
| parent | 2bc73e2e36fefc3c1ee1b8e97e686c6729e58dcb (diff) | |
| parent | e648ea4dbdb423e80d79ba9e4c9f3ebde6ed22a0 (diff) | |
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/controllers/photos.php')
| -rw-r--r-- | modules/gallery/controllers/photos.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/controllers/photos.php b/modules/gallery/controllers/photos.php index 3b9662c7..dd6d3ab5 100644 --- a/modules/gallery/controllers/photos.php +++ b/modules/gallery/controllers/photos.php @@ -90,8 +90,7 @@ class Photos_Controller extends Items_Controller { array("photo_title" => html::purify($photo->title)))); print json_encode( - array("result" => "success", - "location" => url::site("photos/$photo->id"))); + array("result" => "success")); } else { print json_encode( array("result" => "error", |
