Fix: Line invalide si page defaut n'est pas index.php

This commit is contained in:
Laurent Destailleur 2005-09-10 00:35:28 +00:00
parent faf64da30c
commit 42dd4d456a

View File

@ -330,7 +330,7 @@ function left_menu($menu_array, $help_url='', $form_search='')
if (($conf->produit->enabled || $conf->service->enabled) && defined("MAIN_SEARCHFORM_PRODUITSERVICE") && MAIN_SEARCHFORM_PRODUITSERVICE > 0 && $user->rights->produit->lire)
{
$langs->load("products");
printSearchForm(DOL_URL_ROOT.'/product/liste.php',DOL_URL_ROOT.'/product/',$langs->trans("Products")."/".$langs->trans("Services"),'products','sall');
printSearchForm(DOL_URL_ROOT.'/product/liste.php',DOL_URL_ROOT.'/product/index.php',$langs->trans("Products")."/".$langs->trans("Services"),'products','sall');
}
/*