From 8e4aaf4327a49a119499bdc6ac60638b18096310 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 21 Mar 2007 08:33:07 +0000 Subject: [PATCH] Fixed warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5846 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/sieve/class_My_Tree.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/sieve/class_My_Tree.inc b/include/sieve/class_My_Tree.inc index 229f668a2..412bccb87 100644 --- a/include/sieve/class_My_Tree.inc +++ b/include/sieve/class_My_Tree.inc @@ -706,11 +706,12 @@ function sieve_get_strings($data,$id) { $ret = array(); if($data[$id]['class'] == "left-bracket"){ - while($data[$id]['class'] != "right-bracket" && $id < count($data)){ + while(isset($data[$id]) && $data[$id]['class'] != "right-bracket" && $id < count($data)){ if($data[$id]['class'] == "quoted-string"){ $ret[] = $data[$id]['text']; } + $id ++; } }elseif($data[$id]['class'] == "quoted-string"){ -- 2.30.2