dolibarr/htdocs/holiday/class
MDW 1a6ad0ea67
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:24 +01:00
..
holiday.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:24 +01:00