From c6423696375f1fbf156b761dc49e0fac7fe99753 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 22 Mar 2007 08:55:13 +0000 Subject: [PATCH] Add left elements git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5852 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_My_Tree.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/sieve/class_My_Tree.inc b/include/sieve/class_My_Tree.inc index 361fa3f91..d935a20aa 100644 --- a/include/sieve/class_My_Tree.inc +++ b/include/sieve/class_My_Tree.inc @@ -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 */ -- 2.30.2