Aleksander Machniak
2012-08-17 60082ad665cfcb3b517f765a5192e99ddf1a730c
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
@@ -86,7 +86,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));
            }
        }