orm: 0 result if not existing attribnure is used in where

This commit is contained in:
yuri
2018-06-26 12:35:24 +03:00
parent fe31b078f6
commit 2acaf1f7ff
+1
View File
@@ -837,6 +837,7 @@ abstract class Base
if (empty($isComplex)) {
if (!isset($entity->fields[$field])) {
$whereParts[] = '0';
continue;
}