mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
Make sure link_to is an array before trying to use it as one
This commit is contained in:
parent
55ad5a320b
commit
cb6ad85fb3
@ -2057,6 +2057,7 @@ class infolog_ui
|
||||
|
||||
if (!isset($content['info_cat'])) $content['info_cat'] = $this->prefs['cat_add_default'];
|
||||
|
||||
if(!is_array($content['link_to'])) $content['link_to'] = array();
|
||||
$content['link_to']['to_app'] = 'infolog';
|
||||
$content['link_to']['to_id'] = 0;
|
||||
// Get links to be copied, if not excluded
|
||||
|
Loading…
Reference in New Issue
Block a user