boolean fix
This commit is contained in:
parent
f2b67a1b40
commit
9db8d592d7
1 changed files with 1 additions and 1 deletions
|
@ -1490,7 +1490,7 @@ class ISBPLObject {
|
|||
}
|
||||
|
||||
public boolean isTruthy() {
|
||||
return object != null && object != Integer.valueOf(0);
|
||||
return object != null && object != Integer.valueOf(0) && object != Boolean.valueOf(false);
|
||||
}
|
||||
|
||||
// This has heavy optimizations, please do not change unless necessary
|
||||
|
|
Loading…
Add table
Reference in a new issue