Code

Init require with parent
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 07:22:12 +0000 (07:22 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 20 Mar 2007 07:22:12 +0000 (07:22 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5829 594d385d-05f5-0310-b6e9-bd551577e9d8

include/sieve/class_My_Tree.inc

index a5bf7af3a851823027f7ae4d82ace5abe89b4cac..645188fc283be7b43d8019c907e7a1c2cd57eb2b 100644 (file)
@@ -588,7 +588,7 @@ class My_Tree extends Tree
   
     /* No require found, add one */
     if($require_id == -1){
-      $require = new sieve_require(NULL,preg_replace("/[^0-9]/","",microtime()));
+      $require = new sieve_require(NULL,preg_replace("/[^0-9]/","",microtime()),$this);
       $require -> Add_Require($str);
       $new = array();
       $new[] = $require;