diff --git a/ChangeLog b/ChangeLog index 13346d43763..8aed3e0775a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,22 @@ Upgrading to any other version or any other database system is abolutely require make a Dolibarr upgrade. +***** ChangeLog for 4.0 compared to 3.9.* ***** +For users: + +For developers: + + +WARNING: + +Dolibarr 4.0 should be compatible with PHP 7 but more feedbacks are still expected to confirm that. + +Following changes may create regression for some external modules, but were necessary to make +Dolibarr better: +- Method select_type_comptes_financiers() has been renamed into selectTypeOfBankAccount() + + + ***** ChangeLog for 3.9.0 compared to 3.8.* ***** For users: NEW: A new and more modern look for "eldy" theme. diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 12dfe51ab59..13fdcdc7405 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -286,7 +286,7 @@ if ($action == 'create') // Type print ''.$langs->trans("AccountType").''; print ''; - $formbank->select_type_comptes_financiers(isset($_POST["type"])?$_POST["type"]:1,"type"); + $formbank->selectTypeOfBankAccount(isset($_POST["type"])?$_POST["type"]:1,"type"); print ''; // Currency @@ -843,7 +843,7 @@ else // Type print ''.$langs->trans("AccountType").''; print ''; - $formbank->select_type_comptes_financiers((isset($_POST["type"])?$_POST["type"]:$account->type),"type"); + $formbank->selectTypeOfBankAccount((isset($_POST["type"])?$_POST["type"]:$account->type),"type"); print ''; // Currency diff --git a/htdocs/core/class/html.formbank.class.php b/htdocs/core/class/html.formbank.class.php index 48ec0764c09..450441cf54c 100644 --- a/htdocs/core/class/html.formbank.class.php +++ b/htdocs/core/class/html.formbank.class.php @@ -49,7 +49,7 @@ class FormBank * @param string $htmlname Nom champ formulaire * @return void */ - public function select_type_comptes_financiers($selected = Account::TYPE_CURRENT, $htmlname = 'type') + public function selectTypeOfBankAccount($selected = Account::TYPE_CURRENT, $htmlname = 'type') { $account = new Account($this->db);