mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Avoid some errors about wrong type if old entry was not loaded
This commit is contained in:
parent
70631365c4
commit
81aaaf9675
@ -964,6 +964,10 @@ class infolog_bo
|
||||
}
|
||||
|
||||
// create (and remove) links in custom fields
|
||||
if(!is_array($old))
|
||||
{
|
||||
$old = array();
|
||||
}
|
||||
Api\Storage\Customfields::update_links('infolog',$values,$old,'info_id');
|
||||
|
||||
// Check for restore of deleted entry, restore held links
|
||||
|
Loading…
Reference in New Issue
Block a user