Code

First save_object data, then check content
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Mar 2007 11:43:32 +0000 (11:43 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 Mar 2007 11:43:32 +0000 (11:43 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5800 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_sieveManagement.inc

index 5e7fe38449b2cb4fef1b838921b0e47808dc08d0..853c150948a9af5a0333fdc6ae0d8bfa4bc4be24 100644 (file)
@@ -723,6 +723,7 @@ class sieveManagement extends plugin
        *  if we are currently in a subdialog 
        */
 
+      $this->current_handler->save_object();
       $Mode = $this->scripts[$this->current_script]['MODE'];
       $skip_mode_change = false;
       if(in_array($Mode,array("Source-Only","Source"))){
@@ -774,7 +775,6 @@ class sieveManagement extends plugin
           } 
         }
       }
-      $this->current_handler->save_object();
     }
   }