summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-04 19:46:37 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-04 19:46:37 +0000
commit63302ad49c6a5a956b396978ba45d74ea9891cd5 (patch)
tree760340b0a1d18ca2e4e61e194ea8682ad84b516c /core
parent89f895c708e1c3dc7b605a107d6bbdf4daae0480 (diff)
Fix message line so that uploads work
Diffstat (limited to 'core')
-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",