From: hickert Date: Tue, 20 Mar 2007 07:21:00 +0000 (+0000) Subject: Fixed require initialization X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6c75afd0c9f275f914ddfd603672cec5af8331f1;p=gosa.git Fixed require initialization git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5828 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']);