diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-02-06 16:30:40 (GMT) |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-02-06 16:30:40 (GMT) |
commit | 69b7803f25c35c2b1c0d48cd47ada4e214a0528e (patch) | |
tree | d51ede3bf7d7605430a83efe9cc7ef97a2dada35 /plugins/kolab_config/kolab_config.php | |
parent | 2ade247a0cef2cce7177cf6d68b87d1c3f19cedd (diff) | |
download | roundcubemail-plugins-kolab-69b7803f25c35c2b1c0d48cd47ada4e214a0528e.tar.gz |
Adapt to kolab_storage_folder optimizations: don't cast resultset into array (#2828)
Diffstat (limited to 'plugins/kolab_config/kolab_config.php')
-rw-r--r-- | plugins/kolab_config/kolab_config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_config/kolab_config.php b/plugins/kolab_config/kolab_config.php index e5f07ad..d4a4753 100644 --- a/plugins/kolab_config/kolab_config.php +++ b/plugins/kolab_config/kolab_config.php @@ -167,7 +167,7 @@ class kolab_config extends rcube_plugin if ($default && !$folder->default) continue; - foreach ((array)$folder->select($query) as $object) { + foreach ($folder->select($query) as $object) { if ($object['type'] == 'dictionary' && ($object['language'] == $lang || $object['language'] == 'XX')) { if (is_array($this->dicts[$lang])) $this->dicts[$lang]['e'] = array_merge((array)$this->dicts[$lang]['e'], $object['e']); |