summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/controllers/albums.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php
index 7f78303e..486d57af 100644
--- a/core/controllers/albums.php
+++ b/core/controllers/albums.php
@@ -122,9 +122,8 @@ class Albums_Controller extends Items_Controller {
$this->input->post("description"),
user::active()->id);
- log::success("content", "Added a photo",
- html::anchor("photos/$photo->id", "view photo"));
- message::add(sprintf(_("Added photo %s"), $photo->title));
+ log::success("content", "Added a photo", html::anchor("photos/$photo->id", "view photo"));
+ message::success(sprintf(_("Added photo %s"), $photo->title));
print json_encode(
array("result" => "success",