Code

Add left elements
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Mar 2007 08:55:13 +0000 (08:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 22 Mar 2007 08:55:13 +0000 (08:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5852 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_My_Tree.inc

index 361fa3f916518e1ee9567a1958e66a42104095b3..d935a20aa8f1245225fc950eba7dddf21aa87e43 100644 (file)
@@ -42,6 +42,13 @@ class My_Tree extends Tree
       $this->mode_stack = array();
       $this->pap = array();
       $this->doDump_(0, '', true);
+
+      /* Add left elements */
+      if(count($this->mode_stack)){
+        foreach($this->mode_stack as $element){
+          $this->handle_elements( $element,preg_replace("/[^0-9]/","",microtime()));
+        }
+      }
     }
 
     /* Create html results */