Laurent Destailleur před 1 rokem
rodič
revize
8db331103d
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      scripts/doc/regenerate_docs.php

+ 2 - 2
scripts/doc/regenerate_docs.php

@@ -92,14 +92,14 @@ if ($subdir == 'propale' || $subdir == 'proposal') {
 	} else {
 		print 'Error, module not enabled'."\n";
 	}
-} else if ($subdir == 'commande' || $subdir == 'order') {
+} elseif ($subdir == 'commande' || $subdir == 'order') {
 	if (isModEnabled('commande')) {
 		require_once DOL_DOCUMENT_ROOT."/commande/class/commande.class.php";
 		$tmpobject = new Commande($db);
 	} else {
 		print 'Error, module not enabled'."\n";
 	}
-} else if ($subdir == 'facture' || $subdir == 'invoice') {
+} elseif ($subdir == 'facture' || $subdir == 'invoice') {
 	if (isModEnabled('facture')) {
 		require_once DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php";
 		$tmpobject = new Facture($db);