Code

Added check to class_plugin::check() to prevent calling $this->config->member_functio...
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 05:53:28 +0000 (05:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 24 Sep 2007 05:53:28 +0000 (05:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7379 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index 9f7923ea75c24aed3663c1f95191a983c43dfee5..928d751c4adf8cd8b9f07c62c161c42e3e753ccb 100644 (file)
@@ -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;
     }