Skip to content

Commit

Permalink
Fix: Use correct hook name
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 10, 2011
1 parent a0146e6 commit 998afb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/main.inc.php
Expand Up @@ -25,7 +25,7 @@
* \file htdocs/main.inc.php
* \ingroup core
* \brief File that defines environment for Dolibarr pages only (variables not required by scripts)
* \version $Id: main.inc.php,v 1.757 2011/08/10 00:50:19 eldy Exp $
* \version $Id: main.inc.php,v 1.758 2011/08/10 11:23:41 eldy Exp $
*/

@ini_set('memory_limit', '64M'); // This may be useless if memory is hard limited by your PHP
Expand Down Expand Up @@ -1313,7 +1313,7 @@ function left_menu($menu_array_before, $helppagename='', $moresearchform='', $me
// Instantiate hooks of thirdparty module
include_once(DOL_DOCUMENT_ROOT.'/core/class/hookmanager.class.php');
$hookmanager=new HookManager($db);
$hookmanager->callHooks(array('printSearchform','leftblock'));
$hookmanager->callHooks(array('searchform','leftblock'));

// Define $searchform
if ($conf->societe->enabled && $conf->global->MAIN_SEARCHFORM_SOCIETE && $user->rights->societe->lire)
Expand Down

0 comments on commit 998afb1

Please sign in to comment.