From: hickert Date: Wed, 21 Mar 2007 09:43:28 +0000 (+0000) Subject: fixed endless loop X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bb290f716ed9d7500cea46d88adeb1b5d4714940;p=gosa.git fixed endless loop git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5849 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/sieve/class_My_Tree.inc b/include/sieve/class_My_Tree.inc index 7691ed361..6d38d42c5 100644 --- a/include/sieve/class_My_Tree.inc +++ b/include/sieve/class_My_Tree.inc @@ -524,6 +524,7 @@ class My_Tree extends Tree if(!$include_self){ $key_id ++; } + $include_self = FALSE; $current_class = get_class($test[$key_id]); if(in_array($current_class, $allowed_to_add_after)){ return($key_id);