mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fixed creation of infolog without any link (contained link with id=1 on HEAD)
This commit is contained in:
parent
80bf7a97ce
commit
0274dd12be
@ -280,7 +280,7 @@
|
|||||||
return $this->tmpl->exec('infolog.uiinfolog.index',$values,array(
|
return $this->tmpl->exec('infolog.uiinfolog.index',$values,array(
|
||||||
'info_type' => $this->bo->enums['type'],
|
'info_type' => $this->bo->enums['type'],
|
||||||
'info_status' => $all_stati
|
'info_status' => $all_stati
|
||||||
),$readonlys,$persist,'',$return_html);
|
),$readonlys,$persist,(int) $return_html);
|
||||||
}
|
}
|
||||||
|
|
||||||
function delete($values=0,$referer='')
|
function delete($values=0,$referer='')
|
||||||
@ -502,8 +502,7 @@
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$content['link_to']['primary'] = $content['info_link_id'] ? $content['info_link_id'] : True;
|
$content['link_to']['primary'] = (int)$content['info_link_id'];
|
||||||
|
|
||||||
if (!isset($this->bo->enums['type'][$content['info_type']]))
|
if (!isset($this->bo->enums['type'][$content['info_type']]))
|
||||||
{
|
{
|
||||||
$content['info_type'] = 'note';
|
$content['info_type'] = 'note';
|
||||||
|
Loading…
Reference in New Issue
Block a user