dolibarr/htdocs/expensereport
MDW 1e0f368d6a
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:16 +01:00
..
ajax Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
class Fix $mybool |=... which is binary op, not boolean op 2024-03-21 13:45:16 +01:00
payment Fix $arrayfields typing lost by dol_sort_array() by forcing the type 2024-03-20 23:29:48 +01:00
stats Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
tpl Merge branch 'develop' into fix/file_ref 2024-03-16 23:36:17 +01:00
card.php fix expensereport setdraft 2024-03-13 11:20:37 +01:00
document.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
index.php Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
info.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
list.php Fix: Ensure string type for urlencode() 2024-03-09 16:55:53 +01:00
note.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00