Fix useless test
This commit is contained in:
parent
a491de01b3
commit
3c05cfe690
@ -3718,8 +3718,6 @@ abstract class CommonObject
|
|||||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||||
foreach($dirtpls as $module => $reldir)
|
foreach($dirtpls as $module => $reldir)
|
||||||
{
|
{
|
||||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
|
||||||
|
|
||||||
if (!empty($module))
|
if (!empty($module))
|
||||||
{
|
{
|
||||||
$tpl = dol_buildpath($reldir.'/objectline_create.tpl.php');
|
$tpl = dol_buildpath($reldir.'/objectline_create.tpl.php');
|
||||||
@ -3979,8 +3977,6 @@ abstract class CommonObject
|
|||||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||||
foreach($dirtpls as $module => $reldir)
|
foreach($dirtpls as $module => $reldir)
|
||||||
{
|
{
|
||||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
|
||||||
|
|
||||||
if (!empty($module))
|
if (!empty($module))
|
||||||
{
|
{
|
||||||
$tpl = dol_buildpath($reldir.'/objectline_view.tpl.php');
|
$tpl = dol_buildpath($reldir.'/objectline_view.tpl.php');
|
||||||
@ -4011,8 +4007,6 @@ abstract class CommonObject
|
|||||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||||
foreach($dirtpls as $module => $reldir)
|
foreach($dirtpls as $module => $reldir)
|
||||||
{
|
{
|
||||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
|
||||||
|
|
||||||
if (!empty($module))
|
if (!empty($module))
|
||||||
{
|
{
|
||||||
$tpl = dol_buildpath($reldir.'/objectline_edit.tpl.php');
|
$tpl = dol_buildpath($reldir.'/objectline_edit.tpl.php');
|
||||||
@ -4216,8 +4210,6 @@ abstract class CommonObject
|
|||||||
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
$dirtpls=array_merge($conf->modules_parts['tpl'], array('/core/tpl'));
|
||||||
foreach($dirtpls as $module => $reldir)
|
foreach($dirtpls as $module => $reldir)
|
||||||
{
|
{
|
||||||
if (!empty($module) && empty($conf->$module->enabled)) continue;
|
|
||||||
|
|
||||||
if (!empty($module))
|
if (!empty($module))
|
||||||
{
|
{
|
||||||
$tpl = dol_buildpath($reldir.'/originproductline.tpl.php');
|
$tpl = dol_buildpath($reldir.'/originproductline.tpl.php');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user