dolibarr/htdocs/commande/class
MDW 170a929656
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:04 +01:00
..
api_orders.class.php Fix #28071 - New branch to fix bad merge (#28083) 2024-02-09 15:58:49 +01:00
commande.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:04 +01:00
commandestats.class.php Clean code 2024-01-09 13:08:22 +01:00