Skip to content

Commit

Permalink
without html.formprojet.class.php called, not possible create invoice…
Browse files Browse the repository at this point in the history
… template

cf. #6614
without this class AND module Projects disabled, it's not possible to create an invoice template. So I pulled out the call of the class from the condition.
  • Loading branch information
AlainRnet committed Apr 24, 2017
1 parent 215ef30 commit d9cdaeb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/compta/facture/fiche-rec.php
Expand Up @@ -35,8 +35,9 @@
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formother.class.php';
if (! empty($conf->projet->enabled)) {
require_once DOL_DOCUMENT_ROOT . '/projet/class/project.class.php';
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formprojet.class.php';
//require_once DOL_DOCUMENT_ROOT . '/core/class/html.formprojet.class.php';
}
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formprojet.class.php';
require_once DOL_DOCUMENT_ROOT . '/core/class/doleditor.class.php';
require_once DOL_DOCUMENT_ROOT . '/core/lib/invoice.lib.php';

Expand Down

0 comments on commit d9cdaeb

Please sign in to comment.