diff --git a/htdocs/compta/bank/account.php b/htdocs/compta/bank/account.php index 3213709a54e..cd7478bf36c 100644 --- a/htdocs/compta/bank/account.php +++ b/htdocs/compta/bank/account.php @@ -730,6 +730,7 @@ if ($id > 0 || ! empty($ref)) } $donstatic->ref=$donstatic->lib; print $donstatic->getNomUrl(1,16); + } else if ($links[$key]['type']=='loan') { $loanstatic->id=$links[$key]['url_id']; diff --git a/htdocs/core/modules/modDon.class.php b/htdocs/core/modules/modDon.class.php index 6d67b625f91..8c7425ceed2 100644 --- a/htdocs/core/modules/modDon.class.php +++ b/htdocs/core/modules/modDon.class.php @@ -64,7 +64,7 @@ class modDon extends DolibarrModules $this->requiredby = array(); // Config pages - $this->config_page_url = array("donation.php@donations"); + $this->config_page_url = array("donation.php@don"); // Constants $this->const = array (); diff --git a/htdocs/projet/element.php b/htdocs/projet/element.php index 000b759e091..23c3cc6f8b1 100644 --- a/htdocs/projet/element.php +++ b/htdocs/projet/element.php @@ -53,7 +53,7 @@ if (! empty($conf->propal->enabled)) $langs->load("propal"); if (! empty($conf->ficheinter->enabled)) $langs->load("interventions"); if (! empty($conf->deplacement->enabled)) $langs->load("trips"); if (! empty($conf->expensereport->enabled)) $langs->load("trips"); -if (! empty($conf->expensereport->enabled)) $langs->load("donations"); +if (! empty($conf->don->enabled)) $langs->load("donations"); $id=GETPOST('id','int'); $ref=GETPOST('ref','alpha');