diff --git a/flextype/core/Entries.php b/flextype/core/Entries.php index 073dbeb5..67b13826 100755 --- a/flextype/core/Entries.php +++ b/flextype/core/Entries.php @@ -300,7 +300,7 @@ class Entries // Exec: and where if (isset($bind_and_where['and_where']['key']) && isset($bind_and_where['and_where']['expr']) && isset($bind_and_where['and_where']['value'])) { $expr = new Comparison($bind_and_where['and_where']['key'], $bind_and_where['and_where']['expr'], $bind_and_where['and_where']['value']); - $criteria->where($expr); + $criteria->andWhere($expr); } // Exec: or where