Code

Updated modification detection for plugins.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Sep 2010 13:44:40 +0000 (13:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 13 Sep 2010 13:44:40 +0000 (13:44 +0000)
-Skip detection for list only plugins.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19646 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_tabs.inc

index f38056fad18c02080ad84d1382ac4ad0b60e710b..a8111988c918526f30b0386b6e073fc64dc67556 100644 (file)
@@ -160,7 +160,7 @@ class tabs
 
     // Detect if we've modifications right now.
     foreach ($this->by_name as $class => $name){
-        $this->isPluginModified |= $this->by_object[$class]->is_modified;
+        $this->isPluginModified |= (isset($this->by_object[$class]->is_modified)) && $this->by_object[$class]->is_modified;
     }
     $display="<input type='hidden' id='pluginModified' name='pluginModified' value='{$this->isPluginModified}'>".$display;