Fix booleans
This commit is contained in:
parent
89137fe82e
commit
6b7d19ed56
@ -319,7 +319,7 @@ trait TL
|
||||
|
||||
return $concat;
|
||||
case 'Bool':
|
||||
return $this->constructors->find_by_predicate($bool ? 'boolTrue' : 'boolFalse')['id'];
|
||||
return $this->constructors->find_by_predicate(((bool)$object) ? 'boolTrue' : 'boolFalse')['id'];
|
||||
case 'true':
|
||||
return;
|
||||
case '!X':
|
||||
|
Loading…
Reference in New Issue
Block a user