diff options
author | Bharat Mediratta <bharat@menalto.com> | 2013-03-04 15:14:04 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2013-03-04 15:14:04 -0800 |
commit | f1884b59f13a704e53975a8104df83b9b8891f24 (patch) | |
tree | 1f3b9f4cfb9f66b60ea3c3e00ce9e7247ce907fa | |
parent | 20614e29c08ccdf704c93c83bb623dc55f2ef59e (diff) | |
parent | 295fadd5704d8e381aef988915ea3e8ea8fd43f6 (diff) |
Merge pull request #183 from shadlaws/fix_2037
#2037 - Fix bug with "item_before_update" event in item model.
-rw-r--r-- | modules/gallery/models/item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php index 01da010e..0443a144 100644 --- a/modules/gallery/models/item.php +++ b/modules/gallery/models/item.php @@ -416,7 +416,7 @@ class Item_Model_Core extends ORM_MPTT { module::event("item_created", $this); } else { // Update an existing item - module::event("item_before_update", $item); + module::event("item_before_update", $this); // If any significant fields have changed, load up a copy of the original item and // keep it around. |