summaryrefslogtreecommitdiff
path: root/modules/tag/models
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tag/models')
-rw-r--r--modules/tag/models/tag.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index b60f8dfc..f6cc6144 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -82,7 +82,9 @@ class Tag_Model extends ORM {
}
if ($related_item_ids) {
- foreach (ORM::factory("item")->in("id", array_keys($related_item_ids))->find_all() as $item) {
+ foreach (ORM::factory("item")
+ ->where("id", "IN", array_keys($related_item_ids))
+ ->find_all() as $item) {
module::event("item_related_update", $item);
}
}