[Kolab-devel] distributionlists testing

Mike Gabriel m.gabriel at das-netzwerkteam.de
Mon Apr 21 13:51:20 CEST 2008


Quoting Mike Gabriel <m.gabriel at das-netzwerkteam.de>:

> --- b/turba/lib/Driver/kolab.php        2008-04-20 18:47:49.000000000 +0000
> +++ b/turba/lib/Driver/kolab.php.orig   2008-04-20 18:49:17.000000000 +0000

ooopppsss, it was the wrong way round...

--- b/turba/lib/Driver/kolab.php.orig   2008-04-20 18:49:17.000000000 +0000
+++ b/turba/lib/Driver/kolab.php        2008-04-20 18:47:49.000000000 +0000
@@ -898,7 +898,10 @@
                  }
                  foreach ($entries as $entry) {
                      if (isset($entry[$field])) {
-                        $pos = strpos($entry[$field], $value);
+                       $pos = false;
+                       if ($value) {
+                            $pos = strpos($entry[$field], $value);
+                       }
                          if ($pos === false) {
                              continue;
                          }

sorry,
mike


-- 

das netzwerkteam
mike gabriel, hamburger chaussee 240, 24113 kiel

fon: +49 431 64 74 196
voip/voicemail: +49 431 643 643 6
fax: +49 431 64 74 276
mail: m.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb




More information about the devel mailing list