mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 05:16:03 +02:00
fix(core): fix and_where expression for Entries fetchAll method #186
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user