Aleksander Machniak
2012-08-17 0ae929ffff16f3156fe2750999093593a6e6a88f
Fix PHP Warning:  strlen() expects parameter 1 to be string, object given
1 files modified
2 ■■■ changed files
program/steps/addressbook/export.inc 2 ●●● patch | view | raw | blame | history
program/steps/addressbook/export.inc
@@ -89,7 +89,7 @@
        foreach ($row as $key => $values) {
            list($field, $section) = explode(':', $key);
            foreach ((array)$values as $value) {
                if (is_array($value) || strlen($value))
                if (is_array($value) || @strlen($value))
                    $vcard->set($field, $value, strtoupper($section));
            }
        }