mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Another fix for infolog contact and projectmanager links handler - missing pm_id
This commit is contained in:
parent
9ba38a86f8
commit
5ad67a4c85
@ -455,6 +455,11 @@ class infolog_bo
|
|||||||
{
|
{
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
// if link is a project and no other project selected, also add as project
|
||||||
|
if ($app == 'projectmanager' && $id && !$info['pm_id'])
|
||||||
|
{
|
||||||
|
$info['old_pm_id'] = $info['pm_id'] = $id;
|
||||||
|
}
|
||||||
$info['info_link'] = array(
|
$info['info_link'] = array(
|
||||||
'app' => $app,
|
'app' => $app,
|
||||||
'id' => $id,
|
'id' => $id,
|
||||||
@ -610,8 +615,10 @@ class infolog_bo
|
|||||||
{
|
{
|
||||||
$data['info_subject'] = '';
|
$data['info_subject'] = '';
|
||||||
}
|
}
|
||||||
if ($run_link_id2from) $this->link_id2from($data);
|
if ($run_link_id2from)
|
||||||
|
{
|
||||||
|
$this->link_id2from($data);
|
||||||
|
}
|
||||||
// convert server- to user-time
|
// convert server- to user-time
|
||||||
if ($date_format == 'ts')
|
if ($date_format == 'ts')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user