Files
dolibarr/htdocs/core
MDW 18cfd0dae6 Fix PhanTypeComparisonFromArray by testing $error field
# Fix PhanTypeComparisonFromArray by testing $error field

getListOfPayments always returns an array, comparing it to 0 is invalid.
To know if there was an error, we should test error, not the size of the result.
Updated getListOfPayments as well to initialize error to ""
2024-03-17 20:12:45 +01:00
..
2024-03-16 11:41:00 +01:00
2024-03-13 00:40:40 +01:00
2024-03-16 18:11:10 +01:00
2024-03-11 12:00:39 +01:00
2024-03-17 19:23:25 +01:00
2024-03-16 13:41:24 +01:00
2024-03-14 23:23:38 +01:00