dolibarr/.github/scripts
MDW 08e5308772
FIX: avoid string + float TypeError (#37670)
* FIX: avoid string + float TypeError

# FIX: Avoid string + float TypeError

DoliDB::jdate() can return empty string which resulted in
`[php:error] [pid 1131683:tid 1131683] [client 192.168.0.254:28642] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string + float in .../htdocs/compta/bank/class/account.class.php:262`.
Cast jdate result to int where it is used in numerical comparisons or numeric expressions.

* Fix: 'forbidden_files: unbound variable'

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2026-03-30 19:53:22 +02:00
..
get_changed_php.sh FIX: avoid string + float TypeError (#37670) 2026-03-30 19:53:22 +02:00