mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Don't scare users, instead of displaying base64 encoded image in preview, just show -ENCODED IMAGE-
This commit is contained in:
parent
0b3836a9f5
commit
76064cb490
@ -278,6 +278,12 @@ class addressbook_import_vcard implements importexport_iface_import_plugin {
|
||||
foreach($labels as $field => $label)
|
||||
{
|
||||
$row[$field] = $record[$field];
|
||||
|
||||
// Don't scare users, do something with jpeg
|
||||
if($field == 'jpegphoto' && $row[$field])
|
||||
{
|
||||
$row[$field] = '<span style="white-space: nowrap;">-ENCODED IMAGE-</span>';
|
||||
}
|
||||
unset($record[$field]);
|
||||
}
|
||||
$row += $record;
|
||||
|
Loading…
Reference in New Issue
Block a user