Skip to content

Commit

Permalink
S'assurer que bank_devise_defaut() est définie.
Browse files Browse the repository at this point in the history
Car parfois ça n'est pas le cas.
  • Loading branch information
BoOz authored and Cerdic committed Mar 10, 2021
1 parent 8ad25cf commit 23a83db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bank/inserer_transaction.php
Expand Up @@ -72,6 +72,7 @@ function bank_inserer_transaction_dist($montant, $options = array()){
$montant_ht = (isset($options['montant_ht']) ? $options['montant_ht'] : $montant);
$montant_ht = round($montant_ht, 2);

include_spip('inc/bank');
$devise_defaut = bank_devise_defaut();

$set = array(
Expand Down

0 comments on commit 23a83db

Please sign in to comment.