From: hickert Date: Wed, 21 Mar 2007 08:33:07 +0000 (+0000) Subject: Fixed warnings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8e4aaf4327a49a119499bdc6ac60638b18096310;p=gosa.git Fixed warnings git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5846 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"){