From 2cdaa79dce689b2dc9ef5c7bf3dcbd9446d86c21 Mon Sep 17 00:00:00 2001
From: Paweł Słowik <pawel.slowik@iq.pl>
Date: Thu, 13 Sep 2012 08:24:01 -0400
Subject: [PATCH] Merge branch 'master' of https://github.com/roundcube/roundcubemail

---
 program/include/rcube_addressbook.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php
index fb2027b..069ea57 100644
--- a/program/include/rcube_addressbook.php
+++ b/program/include/rcube_addressbook.php
@@ -422,7 +422,7 @@
     function get_col_values($col, $data, $flat = false)
     {
         $out = array();
-        foreach ($data as $c => $values) {
+        foreach ((array)$data as $c => $values) {
             if ($c === $col || strpos($c, $col.':') === 0) {
                 if ($flat) {
                     $out = array_merge($out, (array)$values);
@@ -448,7 +448,7 @@
      */
     protected static function normalize_string($str)
     {
-        return rcbe_utils::normalize_string($str);
+        return rcube_utils::normalize_string($str);
     }
 
     /**

--
Gitblit v1.9.1