dolibarr/htdocs/commande
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
..
class Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:04 +01:00
stats Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
tpl FIX: if we stop for security purpose, we must exit a non zero value. 2024-03-16 23:08:15 +01:00
agenda.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
card.php Fix arg type to preg_replace() with cast 2024-03-20 04:08:29 +01:00
contact.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
customer.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
document.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
index.php Fix: Replace deprecated modulename with new in isModEnabled (#28452) 2024-02-27 15:30:37 +01:00
list_det.php Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
list.php Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
note.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00