summaryrefslogtreecommitdiff
path: root/program/include/rcube_addressbook.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-07-13 20:14:18 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-07-13 20:14:37 +0200
commit88fb5635109ff5ed994aa5624c0bc1a95c814176 (patch)
tree4620f2184f386f1e33dd0b2ae58e6d04a0477706 /program/include/rcube_addressbook.php
parent688d16e88296e2ae96ab9b7fc379eaef31d77933 (diff)
Avoid warnings; silently pipe http: urls through rcmail::url()
Diffstat (limited to 'program/include/rcube_addressbook.php')
-rw-r--r--program/include/rcube_addressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_addressbook.php b/program/include/rcube_addressbook.php
index f5b32cd52..069ea5715 100644
--- a/program/include/rcube_addressbook.php
+++ b/program/include/rcube_addressbook.php
@@ -422,7 +422,7 @@ abstract class rcube_addressbook
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);