diff options
author | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-25 19:06:54 +0200 |
---|---|---|
committer | Romain LE DISEZ <romain.git@ledisez.net> | 2009-07-25 19:06:54 +0200 |
commit | 23bb6eb7e35637c8a2124216dbb6d3246ad3d702 (patch) | |
tree | ff81a60c9deadcc1edda801d4680f567ee3a9b18 /modules/notification/helpers | |
parent | 0aa3ec3ae90a101b2bfc1b395a1749551da22287 (diff) |
Rename columns that use reserved SQL words : items.left and items.right
Diffstat (limited to 'modules/notification/helpers')
-rw-r--r-- | modules/notification/helpers/notification.php | 4 |
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(); |