From 07bf5100dce24ea3ae869fe59b61772870a80962 Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Sat, 07 Mar 2009 11:48:33 -0500 Subject: [PATCH] Fixed php notices in libraries and improved opensuse docs. --- server/lib/classes/modules.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/lib/classes/modules.inc.php b/server/lib/classes/modules.inc.php index b9b875c..eb8e563 100644 --- a/server/lib/classes/modules.inc.php +++ b/server/lib/classes/modules.inc.php @@ -192,7 +192,7 @@ global $app; // Get the hooks for this table - $hooks = $this->notification_hooks[$table_name]; + $hooks = (isset($this->notification_hooks[$table_name]))?$this->notification_hooks[$table_name]:''; if($this->debug) $app->log("Raised TableHook for table: '$table_name'",LOGLEVEL_DEBUG); if(is_array($hooks)) { -- Gitblit v1.9.1