From 6c75afd0c9f275f914ddfd603672cec5af8331f1 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 20 Mar 2007 07:21:00 +0000 Subject: [PATCH] Fixed require initialization git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5828 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_sieveElement_Require.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/sieve/class_sieveElement_Require.inc b/include/sieve/class_sieveElement_Require.inc index c7138deb5..fac16e296 100644 --- a/include/sieve/class_sieveElement_Require.inc +++ b/include/sieve/class_sieveElement_Require.inc @@ -4,12 +4,14 @@ class sieve_require { var $data = array(); var $object_id = -1; - - function sieve_require($data,$object_id) + var $parent = NULL; + + function sieve_require($data,$object_id,$parent) { + $this->parent = $parent; + $this->object_id = $object_id; if($data != NULL){ - $this->object_id = $object_id; foreach($data['ELEMENTS'] as $node ){ if(in_array($node['class'],array("quoted-string","text"))){ $this->data[] = preg_replace("/\"/","",$node['text']); -- 2.30.2