This commit is contained in:
aspangaro 2015-03-26 06:29:16 +01:00
parent 8d4ceadd7e
commit b60f1e33d6
3 changed files with 3 additions and 2 deletions

View File

@ -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'];

View File

@ -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 ();

View File

@ -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');