forked from extern/egroupware
fix javascript error when opening a new infolog or convert a mail to an infolog
This commit is contained in:
parent
7809cdcdcc
commit
977ffd5768
@ -2005,6 +2005,8 @@ class infolog_ui
|
||||
$content['hours_per_workday'] = $this->hours_per_workday;
|
||||
if ($this->prefs['show_id']) $content['info_number'] = $info_id;
|
||||
|
||||
$content['info_anz_subs'] = (int)$content['info_anz_subs']; // gives javascript error if empty!
|
||||
|
||||
$old_pm_id = is_array($pm_links) ? array_shift($pm_links) : $content['old_pm_id'];
|
||||
if (!isset($content['pm_id']) && $old_pm_id) $content['pm_id'] = $old_pm_id;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user