From 89d5b00ebf8dc679c97094d2bfb39fd7ac66225a Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 24 Sep 2007 05:53:28 +0000 Subject: [PATCH] Added check to class_plugin::check() to prevent calling $this->config->member_functions() while $this->config is no object. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7379 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 9f7923ea7..928d751c4 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -400,7 +400,7 @@ class plugin $message= array(); /* Skip if we've no config object */ - if (!isset($this->config)){ + if (!isset($this->config) || !is_object($this->config)){ return $message; } -- 2.30.2