1
0
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:
Awilum
2019-08-27 10:33:16 +03:00
parent a159b443ef
commit e7ee93fec3

View File

@@ -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);
}