mirror of
https://github.com/flextype/flextype.git
synced 2025-08-23 13:23:18 +02:00
fix(core): issue with bind_where in the Entries #186
This commit is contained in:
@@ -293,7 +293,7 @@ class Entries
|
||||
$criteria = new Criteria();
|
||||
|
||||
// Exec: where
|
||||
if (isset($bind_and_where['where']['key']) && isset($bind_and_where['where']['expr']) && isset($bind_and_where['where']['value'])) {
|
||||
if (isset($bind_where['where']['key']) && isset($bind_where['where']['expr']) && isset($bind_where['where']['value'])) {
|
||||
$expr = new Comparison($bind_where['where']['key'], $bind_where['where']['expr'], $bind_where['where']['value']);
|
||||
$criteria->where($expr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user