From 2ca13f28302610f173ec726eaefa0bb26bfd3ebb Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Wed, 14 Mar 2012 09:26:14 +0000 Subject: [PATCH] prevent warning about undefined value in FullProjectHtmlSearchRenderer when no plugin providing a full_search_engines hook is installed this ties into r15007 --- src/common/include/PluginManager.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/include/PluginManager.class.php b/src/common/include/PluginManager.class.php index 8aed9fc95a..f65e0733b7 100644 --- a/src/common/include/PluginManager.class.php +++ b/src/common/include/PluginManager.class.php @@ -232,6 +232,7 @@ class PluginManager extends Error { */ function RunHooks($hookname, & $params) { $result = true; + $this->returned_values[$hookname] = array(); if (isset($this->hooks_to_plugins[$hookname])) { $p_list = $this->hooks_to_plugins[$hookname]; foreach ($p_list as $p_name) { -- 2.30.2