dolibarr/htdocs/compta/paiement/class
MDW a42203cc93
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:09 +01:00
..
cpaiement.class.php all initAsSpecimen return int (#28577) 2024-03-02 16:38:35 +01:00
paiement.class.php Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:09 +01:00