Fix: Removed warning
This commit is contained in:
parent
93d838d0c8
commit
f241e338b3
@ -73,7 +73,7 @@ if ($action == 'specimen')
|
||||
|
||||
// Search template files
|
||||
$file=''; $classname=''; $filefound=0;
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
foreach($dirmodels as $reldir)
|
||||
{
|
||||
$file=dol_buildpath($reldir."core/modules/commande/doc/pdf_".$modele.".modules.php",0);
|
||||
@ -223,7 +223,7 @@ if ($action == 'set_COMMANDE_FREE_TEXT')
|
||||
* View
|
||||
*/
|
||||
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
|
||||
llxHeader();
|
||||
|
||||
|
||||
@ -72,7 +72,7 @@ if ($action == 'specimen')
|
||||
|
||||
// Search template files
|
||||
$file=''; $classname=''; $filefound=0;
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
foreach($dirmodels as $reldir)
|
||||
{
|
||||
$file=dol_buildpath($reldir."core/modules/facture/doc/pdf_".$modele.".modules.php",0);
|
||||
@ -291,7 +291,7 @@ if ($action == 'setforcedate')
|
||||
* View
|
||||
*/
|
||||
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
|
||||
llxHeader("",$langs->trans("BillsSetup"),'EN:Invoice_Configuration|FR:Configuration_module_facture|ES:ConfiguracionFactura');
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ if ($action == 'specimen') // For orders
|
||||
|
||||
// Search template files
|
||||
$file=''; $classname=''; $filefound=0;
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
foreach($dirmodels as $reldir)
|
||||
{
|
||||
$file=dol_buildpath($reldir."core/modules/supplier_order/pdf/pdf_".$modele.".modules.php",0);
|
||||
@ -124,7 +124,7 @@ if ($action == 'specimenfacture') // For invoices
|
||||
|
||||
// Search template files
|
||||
$file=''; $classname=''; $filefound=0;
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
foreach($dirmodels as $reldir)
|
||||
{
|
||||
$file=dol_buildpath($reldir."core/modules/supplier_invoice/pdf/pdf_".$modele.".modules.php",0);
|
||||
@ -262,7 +262,7 @@ if ($action == 'set_SUPPLIER_INVOICE_FREE_TEXT')
|
||||
* View
|
||||
*/
|
||||
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array)$conf->modules_parts['models']);
|
||||
|
||||
llxHeader();
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ if ($action == 'specimen')
|
||||
|
||||
// Search template files
|
||||
$file=''; $classname=''; $filefound=0;
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array) $conf->modules_parts['models']);
|
||||
foreach($dirmodels as $reldir)
|
||||
{
|
||||
$file=dol_buildpath($reldir."core/modules/propale/doc/pdf_".$modele.".modules.php");
|
||||
@ -257,7 +257,7 @@ else if ($action == 'setmod')
|
||||
* Affiche page
|
||||
*/
|
||||
|
||||
$dirmodels=array_merge(array('/'),$conf->modules_parts['models']);
|
||||
$dirmodels=array_merge(array('/'),(array) $conf->modules_parts['models']);
|
||||
|
||||
llxHeader('',$langs->trans("PropalSetup"));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user