summaryrefslogtreecommitdiff
path: root/modules/gallery/models
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-01-16 00:15:23 -0800
committerBharat Mediratta <bharat@menalto.com>2010-01-16 00:15:23 -0800
commit434d351b2f0fc2a048f561665cb1d828d1126f9c (patch)
tree12b23d33fecf0e5b053a79ed1bf3b8a604c98372 /modules/gallery/models
parent654b103355f1bda15246e651fa91f3c9e08c3901 (diff)
parentdcf4b5e71ae8a097f133a06485d60c5fb3400824 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev
Conflicts: modules/gallery/models/item.php
Diffstat (limited to 'modules/gallery/models')
-rw-r--r--modules/gallery/models/item.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index 395ba52c..46b0304e 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -442,8 +442,9 @@ class Item_Model extends ORM_MPTT {
->where("right_ptr", "<", $this->right_ptr)
->execute();
}
+ $original = clone $this->original();
parent::save();
- module::event("item_updated", $this->original(), $this);
+ module::event("item_updated", $original, $this);
}
}