dolibarr/htdocs/bookcal/class
MDW e114884d11
Fix $mybool |=... which is binary op, not boolean op
# Fix $mybool |=... which is binary op, not boolean op

This fixes PhanTypeInvalidLeftOperandOfBitwiseOp.
Replace $var |= ... with $var = ... || $var .
Add cast before ... when needed (@include does not always return bool).
|= always evaluates expression, there for || $var, not $var ||
2024-03-21 13:45:01 +01:00
..
availabilities.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:00 +01:00
calendar.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:01 +01:00