summaryrefslogtreecommitdiff
path: root/core/controllers/photos.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/photos.php')
-rw-r--r--core/controllers/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/photos.php b/core/controllers/photos.php
index b177b205..19308f2d 100644
--- a/core/controllers/photos.php
+++ b/core/controllers/photos.php
@@ -78,7 +78,7 @@ class Photos_Controller extends Items_Controller {
$photo->description = $form->edit_photo->description->value;
$photo->save();
- module::event("photo_changed", $orig, $photo);
+ module::event("item_changed", $orig, $photo);
log::success("content", "Updated photo", "<a href=\"photos/$photo->id\">view</a>");
message::success(t("Saved photo {{photo_title}}", array("photo_title" => $photo->title)));