lib/kolab_client_task.php

Aleksander Machniak machniak at kolabsys.com
Wed Sep 26 12:39:56 CEST 2012


 lib/kolab_client_task.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 85c141f666365e7e13b6228f816ae0e071c1112f
Author: Aleksander Machniak <alec at alec.pl>
Date:   Wed Sep 26 12:39:44 2012 +0200

    Fix typo in last commit

diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index 1ab8e9d..47dce4a 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -566,7 +566,7 @@ class kolab_client_task
                 }
             }
 
-            $this->cache[$cache_idx] = empty($list) ? $list : array();
+            $this->cache[$cache_idx] = !empty($list) ? $list : array();
 
             Log::trace("kolab_client_task::${type}_types() returns: " . var_export($list, true));
         }





More information about the commits mailing list