Fix booleans
This commit is contained in:
parent
89137fe82e
commit
6b7d19ed56
|
@ -319,7 +319,7 @@ trait TL
|
||||||
|
|
||||||
return $concat;
|
return $concat;
|
||||||
case 'Bool':
|
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':
|
case 'true':
|
||||||
return;
|
return;
|
||||||
case '!X':
|
case '!X':
|
||||||
|
|
Loading…
Reference in New Issue
Block a user