Code

Fixed Problem with TABS post creation
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Sep 2005 16:46:59 +0000 (16:46 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Sep 2005 16:46:59 +0000 (16:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1438 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_plugin.inc

index bd9f630f8f9e0e1dd30e1e21a69cb00fc03884c1..00751345df2b5bded55ff1813d3d026893ca14f1 100644 (file)
@@ -377,8 +377,8 @@ class plugin
   {
     /* Find postcreate entries for this class */
     $command= search_config($this->config->data['MENU'], get_class($this), "POSTCREATE");
-    if ($command == "" && isset($this->config->data['TAB'])){
-      $command= search_config($this->config->data['TAB'], get_class($this), "POSTCREATE");
+    if ($command == "" && isset($this->config->data['TABS'])){
+      $command= search_config($this->config->data['TABS'], get_class($this), "POSTCREATE");
     }
 
     if ($command != ""){
@@ -405,8 +405,8 @@ class plugin
   {
     /* Find postcreate entries for this class */
     $command= search_config($this->config->data['MENU'], get_class($this), "POSTMODIFY");
-    if ($command == "" && isset($this->config->data['TAB'])){
-      $command= search_config($this->config->data['TAB'], get_class($this), "POSTMODIFY");
+    if ($command == "" && isset($this->config->data['TABS'])){
+      $command= search_config($this->config->data['TABS'], get_class($this), "POSTMODIFY");
     }
 
     if ($command != ""){
@@ -433,8 +433,8 @@ class plugin
   {
     /* Find postremove entries for this class */
     $command= search_config($this->config->data['MENU'], get_class($this), "POSTREMOVE");
-    if ($command == "" && isset($this->config->data['TAB'])){
-      $command= search_config($this->config->data['TAB'], get_class($this), "POSTREMOVE");
+    if ($command == "" && isset($this->config->data['TABS'])){
+      $command= search_config($this->config->data['TABS'], get_class($this), "POSTREMOVE");
     }
 
     if ($command != ""){