From 55b8c28100f9398963c09ff1418ad88b973b1b10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Garci=CC=81a=20de=20La=20Fuente?= <marcosgdf@gmail.com> Date: Sun, 18 Jan 2015 16:28:42 +0100 Subject: [PATCH] Corrected weird typo --- htdocs/core/class/html.formfile.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php index 34f6418de34..4f1de4cfbb0 100644 --- a/htdocs/core/class/html.formfile.class.php +++ b/htdocs/core/class/html.formfile.class.php @@ -307,10 +307,6 @@ class FormFile include_once DOL_DOCUMENT_ROOT.'/core/modules/societe/modules_societe.class.php'; $modellist=ModeleThirdPartyDoc::liste_modeles($this->db); } - } - else if ($modulepart == 'agenda') - { - null; } else if ($modulepart == 'propal') { @@ -442,7 +438,7 @@ class FormFile { $modellist=''; } - else + else if ($modulepart != 'agenda') { // For normalized standard modules $file=dol_buildpath('/core/modules/'.$modulepart.'/modules_'.$modulepart.'.php',0); -- GitLab