printSearchForm hook match specifications

This commit is contained in:
Laurent Destailleur 2013-04-28 20:53:23 +02:00
parent b21a13b789
commit ce47a7d731

View File

@ -1500,7 +1500,12 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
// Execute hook printSearchForm
$parameters=array();
$searchform.=$hookmanager->executeHooks('printSearchForm',$parameters); // Note that $action and $object may have been modified by some hooks
$reshook=$hookmanager->executeHooks('printSearchForm',$parameters); // Note that $action and $object may have been modified by some hooks
if (empty($reshook))
{
$searchform.=$hookmanager->resPrint;
}
else $searchform=$hookmanager->resPrint;
// Define $bookmarks
if (! empty($conf->bookmark->enabled) && $user->rights->bookmark->lire)