Fix: Bad cr

This commit is contained in:
Laurent Destailleur 2012-05-03 22:11:36 +02:00
parent bd724c9d70
commit a6f8fc4af4

View File

@ -1555,8 +1555,10 @@ else
}
else
{
$forceall=1; // For suppliers, we always show all types
print $form->select_type_of_lines($object->lines[$i]->product_type,'type',1);
if ($conf->product->enabled && $conf->service->enabled) print '<br>';
if ($forceall || ($conf->product->enabled && $conf->service->enabled)
|| (empty($conf->product->enabled) && empty($conf->service->enabled))) print '<br>';
}
// Description - Editor wysiwyg