Code

Fixed ticket #21.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Mar 2007 05:44:00 +0000 (05:44 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Mar 2007 05:44:00 +0000 (05:44 +0000)
Reset last error message when importing a new script.
close #21 fixed

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

include/sieve/class_sieveManagement.inc

index 37dd2ec3101eb54fb26c24bf3fb8589abaf915b8..be2ef4ed93186acec0ffbf64bfe82fc5a4de5d48 100644 (file)
@@ -439,6 +439,7 @@ class sieveManagement extends plugin
             }else{
               $this->scripts[$this->current_script]['MODE'] = "Structured";
             }
+            $this->Script_Error = "";
             $this->Import_Script = FALSE;
           }
         }