diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-04 19:46:37 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-04 19:46:37 +0000 |
commit | 63302ad49c6a5a956b396978ba45d74ea9891cd5 (patch) | |
tree | 760340b0a1d18ca2e4e61e194ea8682ad84b516c | |
parent | 89f895c708e1c3dc7b605a107d6bbdf4daae0480 (diff) |
Fix message line so that uploads work
-rw-r--r-- | core/controllers/albums.php | 5 |
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", |