orm: 0 result if not existing attribnure is used in where
This commit is contained in:
@@ -837,6 +837,7 @@ abstract class Base
|
||||
if (empty($isComplex)) {
|
||||
|
||||
if (!isset($entity->fields[$field])) {
|
||||
$whereParts[] = '0';
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user