2
0
forked from Wavyzz/dolibarr
Files
dolibarr-fork/htdocs/core
Steve 9d3a0442c0 dolibarr-develop, php 7.2.7
On third party, add bank account. After spanish account has been added, on summary screen
..../htdocs/societe/paymentmodes.php

a correct account number causes the error:
Warning: A non-numeric value encountered in .......\public_html\dolibarr-develop\htdocs\core\lib\bank.lib.php on line 359

This is
`$sum += $values[$i] * substr($InumCta, $i, 1);`

Since substr returns a string it cannot be summed (I assume).

I changed it to
`$sum += $values[$i] * (int)substr($InumCta, $i, 1)`
2018-07-16 17:10:33 +02:00
..
2018-06-26 11:25:28 +02:00
2018-06-27 00:38:42 +02:00
2018-04-30 10:33:36 +02:00
2018-07-16 17:10:33 +02:00
2018-04-22 20:08:29 +02:00