summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 721fb97)
raw | patch | inline | side by side (parent: 721fb97)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 May 2007 12:12:00 +0000 (12:12 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 May 2007 12:12:00 +0000 (12:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6248 594d385d-05f5-0310-b6e9-bd551577e9d8
include/sieve/class_sieveElement_Vacation.inc | patch | blob | history |
diff --git a/include/sieve/class_sieveElement_Vacation.inc b/include/sieve/class_sieveElement_Vacation.inc
index 91d2310667e44145cef59a091d810d386d561678..c1c28e3ced752b63640eb3fd9f2feceb02e1b248 100644 (file)
if(($data == NULL) || !is_array($data)) return;
/* Walk through elements */
- for($i = 0 ; $i < count($data['ELEMENTS']) ; $i ++){
+ $p= count($data['ELEMENTS']);
+ for ($i= 0; $i < $p; $i++){
/* get current element */
$node = $data['ELEMENTS'][$i];