mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 13:23:18 +02:00
fix(core): fix or_where expression for Entries fetchAll method #186
This commit is contained in:
@@ -306,7 +306,7 @@ class Entries
|
||||
// Exec: or where
|
||||
if (isset($bind_or_where['or_where']['key']) && isset($bind_or_where['or_where']['expr']) && isset($bind_or_where['or_where']['value'])) {
|
||||
$expr = new Comparison($bind_or_where['or_where']['key'], $bind_or_where['or_where']['expr'], $bind_or_where['or_where']['value']);
|
||||
$criteria->where($expr);
|
||||
$criteria->orWhere($expr);
|
||||
}
|
||||
|
||||
// Exec: order by
|
||||
|
Reference in New Issue
Block a user