mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 01:33:51 -04:00
Rename columns that use reserved SQL words : items.left and items.right
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user