Skip to content
Snippets Groups Projects
Commit a725a08c authored by aspangaro's avatar aspangaro
Browse files

Fix :: List limit is not defined or based on limit product configuration

parent b62fd305
No related branches found
No related tags found
No related merge requests found
...@@ -265,7 +265,15 @@ print '<tr '.$bc[$var].'>'; ...@@ -265,7 +265,15 @@ print '<tr '.$bc[$var].'>';
print '<td colspan="2">'; print '<td colspan="2">';
$filtertype=0; $filtertype=0;
if (! empty($conf->global->STOCK_SUPPORTS_SERVICES)) $filtertype=''; if (! empty($conf->global->STOCK_SUPPORTS_SERVICES)) $filtertype='';
print $form->select_produits($id_product,'productid',$filtertype); if ($conf->global->PRODUIT_LIMIT_SIZE <= 0)
{
$limit='';
}
else
{
$limit = $conf->global->PRODUIT_LIMIT_SIZE;
}
print $form->select_produits($id_product,'productid',$filtertype,$limit);
print '</td>'; print '</td>';
// In warehouse // In warehouse
print '<td>'; print '<td>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment