Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
dol_add_file_process return 1 in case of success, that PR change and return number of success files processed
it does not break other part of dolibarr code because tests is against > 0 and it could permit a lighter solution for https://github.com/Dolibarr/dolibarr/pull/31866