Debug
This commit is contained in:
parent
8d4ceadd7e
commit
b60f1e33d6
@ -730,6 +730,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
}
|
}
|
||||||
$donstatic->ref=$donstatic->lib;
|
$donstatic->ref=$donstatic->lib;
|
||||||
print $donstatic->getNomUrl(1,16);
|
print $donstatic->getNomUrl(1,16);
|
||||||
|
}
|
||||||
else if ($links[$key]['type']=='loan')
|
else if ($links[$key]['type']=='loan')
|
||||||
{
|
{
|
||||||
$loanstatic->id=$links[$key]['url_id'];
|
$loanstatic->id=$links[$key]['url_id'];
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class modDon extends DolibarrModules
|
|||||||
$this->requiredby = array();
|
$this->requiredby = array();
|
||||||
|
|
||||||
// Config pages
|
// Config pages
|
||||||
$this->config_page_url = array("donation.php@donations");
|
$this->config_page_url = array("donation.php@don");
|
||||||
|
|
||||||
// Constants
|
// Constants
|
||||||
$this->const = array ();
|
$this->const = array ();
|
||||||
|
|||||||
@ -53,7 +53,7 @@ if (! empty($conf->propal->enabled)) $langs->load("propal");
|
|||||||
if (! empty($conf->ficheinter->enabled)) $langs->load("interventions");
|
if (! empty($conf->ficheinter->enabled)) $langs->load("interventions");
|
||||||
if (! empty($conf->deplacement->enabled)) $langs->load("trips");
|
if (! empty($conf->deplacement->enabled)) $langs->load("trips");
|
||||||
if (! empty($conf->expensereport->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');
|
$id=GETPOST('id','int');
|
||||||
$ref=GETPOST('ref','alpha');
|
$ref=GETPOST('ref','alpha');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user