Skip to content
Snippets Groups Projects
Commit 415bdbe9 authored by Charles Benke's avatar Charles Benke Committed by GitHub
Browse files

Update html.formfile.class.php

parent e9480023
No related branches found
No related tags found
No related merge requests found
......@@ -460,11 +460,20 @@ class FormFile
$modellist=ModeleDon::liste_modeles($this->db);
}
}
elseif ($modulepart == 'agenda')
{
if (is_array($genallowed)) $modellist=$genallowed;
else
{
include_once DOL_DOCUMENT_ROOT.'/core/modules/action/modules_action.php';
$modellist=ModeleAction::liste_modeles($this->db);
}
}
else if ($modulepart == 'unpaid')
{
$modellist='';
}
else if ($modulepart != 'agenda')
else //if ($modulepart != 'agenda')
{
// For normalized standard modules
$file=dol_buildpath('/core/modules/'.$modulepart.'/modules_'.$modulepart.'.php',0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment