summaryrefslogtreecommitdiff
path: root/modules/notification/helpers
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-07-26 22:45:53 -0700
committerAndy Staudacher <andy.st@gmail.com>2009-07-26 22:45:53 -0700
commit570e0b0267a2a7acd00f1936a62f13f7f2e973c9 (patch)
tree19ecd83a71f281ba72734a3dbc7ed53aeaa3382e /modules/notification/helpers
parenta7af9bb456fa840d0be2f83145a642e202be3325 (diff)
parent23bb6eb7e35637c8a2124216dbb6d3246ad3d702 (diff)
Merge branch 'master' of git://github.com/rledisez/gallery3 into rledisez/master
Diffstat (limited to 'modules/notification/helpers')
-rw-r--r--modules/notification/helpers/notification.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/notification/helpers/notification.php b/modules/notification/helpers/notification.php
index d91a37e8..92c40d4f 100644
--- a/modules/notification/helpers/notification.php
+++ b/modules/notification/helpers/notification.php
@@ -73,8 +73,8 @@ class notification {
->join("subscriptions", "users.id", "subscriptions.user_id")
->join("items", "subscriptions.item_id", "items.id")
->where("email IS NOT", null)
- ->where("items.left <=", $item->left)
- ->where("items.right >", $item->right)
+ ->where("items.left_ptr <=", $item->left_ptr)
+ ->where("items.right_ptr >", $item->right_ptr)
->find_all();
$subscribers = array();