From: hickert Date: Mon, 24 Sep 2007 05:53:28 +0000 (+0000) Subject: Added check to class_plugin::check() to prevent calling $this->config->member_functio... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=89d5b00ebf8dc679c97094d2bfb39fd7ac66225a;p=gosa.git 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 --- 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; }