From 63302ad49c6a5a956b396978ba45d74ea9891cd5 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sun, 4 Jan 2009 19:46:37 +0000 Subject: Fix message line so that uploads work --- core/controllers/albums.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/controllers') 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", -- cgit v1.2.3