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
..
ajax Fix regression in GETPOST limit 2024-03-16 11:41:00 +01:00
boxes Fix PhanPluginRedundantAssignment 2024-03-13 00:40:40 +01:00
class Fix PhanTypeComparisonFromArray by testing $error field 2024-03-17 20:12:45 +01:00
data
db Fix PhanTypeMismatchBitwiseBinaryOperands by typing argument 2024-03-17 20:12:35 +01:00
filemanagerdol Fix PhanPluginSuspiciousParamPosition 2024-03-14 19:39:34 +01:00
js Comment 2024-02-26 19:14:00 +01:00
lib Fix PhanPluginUnsafeEval by disabling notification in dol_eval 2024-03-17 20:12:37 +01:00
login Fix return type by cast or typing update 2024-03-16 13:52:12 +01:00
menus Fix PhanParamSuspiciousOrder by ignoring notification 2024-03-17 20:12:43 +01:00
modules Merge pull request #28026 from ariel-bentu/fix-pdf-lines-header-height 2024-03-17 12:38:59 +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
triggers Fix Dolibarr spellings 2024-03-16 18:11:10 +01:00
actions_addupdatedelete.inc.php Fix warning 2024-03-11 12:00:39 +01:00
actions_builddoc.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
actions_changeselectedfields.inc.php
actions_comments.inc.php
actions_dellink.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
actions_extrafields.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
actions_fetchobject.inc.php
actions_lineupdown.inc.php
actions_linkedfiles.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
actions_massactions.inc.php Qual: Force phan type to fix PhanPluginSuspiciousParamOrder 2024-03-17 20:12:29 +01:00
actions_printing.inc.php
actions_sendmails.inc.php Qual: Add typing information 2024-03-15 10:11:56 +01:00
actions_setmoduleoptions.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
actions_setnotes.inc.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
antispamimage.php
bookmarks_page.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
commonfieldsinexport.inc.php QUAL Use phan to help detect new issues (#27706) 2024-02-21 18:14:29 +01:00
commonfieldsinimport.inc.php QUAL Use phan to help detect new issues (#27706) 2024-02-21 18:14:29 +01:00
customreports.php Can use a custom sql 2024-03-17 19:23:25 +01:00
datepicker.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
doxygen.php
extrafieldsinexport.inc.php QUAL Use phan to help detect new issues (#27706) 2024-02-21 18:14:29 +01:00
extrafieldsinimport.inc.php QUAL Use phan to help detect new issues (#27706) 2024-02-21 18:14:29 +01:00
get_info.php Qual: Ignore false positive for suspicious param positions (#28693) 2024-03-07 20:16:48 +01:00
get_menudiv.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
multicompany_page.php Fix: GETPOST(...,'int') to GETPOSTINT(...) (#28448) 2024-02-27 14:05:53 +01:00
photos_resize.php Debug v20 2024-03-16 13:41:24 +01:00
search_page.php Better support for MAIN_OPTIMIZEFORTEXTBROWSER 2024-03-12 01:55:26 +01:00
search.php
tools.php
website.inc.php Clean var 2024-03-14 23:23:38 +01:00