Skip to content
Snippets Groups Projects
Commit e6088c09 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: html comments probem with pdf

parent 4e003341
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
* \file htdocs/core/class/hookmanager.class.php * \file htdocs/core/class/hookmanager.class.php
* \ingroup core * \ingroup core
* \brief File of class to manage hooks * \brief File of class to manage hooks
* \version $Id: hookmanager.class.php,v 1.6 2011/08/11 07:51:50 hregis Exp $ * \version $Id: hookmanager.class.php,v 1.7 2011/08/11 09:26:34 hregis Exp $
*/ */
...@@ -182,10 +182,8 @@ class HookManager ...@@ -182,10 +182,8 @@ class HookManager
// Generic hooks that return a string (printSearchForm, printLeftBlock, formBuilddocOptions, ...) // Generic hooks that return a string (printSearchForm, printLeftBlock, formBuilddocOptions, ...)
else if (method_exists($actioninstance,$method)) else if (method_exists($actioninstance,$method))
{ {
$resprint.='<!-- Begin hook '.$method.' -->'."\n"; if (is_array($parameters) && $parameters['special_code'] > 3 && $parameters['special_code'] != $actioninstance->module_number) continue;
if (is_array($parameters) && $parameters['special_code'] > 3 && $parameters['special_code'] != $module) continue;
$resprint.=$actioninstance->$method($parameters, $object, $action, $this); $resprint.=$actioninstance->$method($parameters, $object, $action, $this);
$resprint.="\n".'<!-- End of hook '.$method.' -->'."\n";
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment