Files
dolibarr/htdocs/contrat
MDW 6a14a8304d 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:10 +01:00
..
2024-03-16 11:41:00 +01:00
2024-03-16 11:41:00 +01:00
2024-03-16 11:41:00 +01:00
2024-03-16 13:27:51 +01:00