diff --git a/htdocs/societe/rib.php b/htdocs/societe/rib.php index 451209913aa..e85845c6a59 100644 --- a/htdocs/societe/rib.php +++ b/htdocs/societe/rib.php @@ -65,8 +65,8 @@ if ($_POST["action"] == 'update' && ! $_POST["cancel"]) $account->bic = $_POST["bic"]; $account->iban_prefix = $_POST["iban_prefix"]; $account->domiciliation = $_POST["domiciliation"]; - $account->proprio = $_POST["proprio"]; - $account->adresse_proprio = $_POST["adresse_proprio"]; + $account->proprio = $_POST["proprio"]; + $account->owner_address = $_POST["owner_address"]; $result = $account->update($user); if (! $result) @@ -154,7 +154,7 @@ if ($_GET["socid"] && $_GET["action"] != 'edit') print "\n"; print ''.$langs->trans("BankAccountOwnerAddress").''; - print $account->adresse_proprio; + print $account->owner_address; print "\n"; print ''; @@ -236,8 +236,8 @@ if ($_GET["socid"] && $_GET["action"] == 'edit' && $user->rights->societe->creer print "\n"; print ''.$langs->trans("BankAccountOwnerAddress").''; - print ""; print '
';