Fix from remark on https://github.com/Dolibarr/dolibarr/pull/1103