mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
let link-entry display "appname: #id" for entries no link title is available (eg. because they got deleted), makes sense eg. for history logging
This commit is contained in:
parent
9d39f2ec98
commit
39666ba03b
@ -371,8 +371,12 @@ class link_widget
|
||||
$titles = array();
|
||||
foreach(explode(',',$id) as $id)
|
||||
{
|
||||
if ($id && ($title = egw_link::title($app,$id)))
|
||||
if ($id)
|
||||
{
|
||||
if (!($title = egw_link::title($app,$id)))
|
||||
{
|
||||
$title = $app.': #'.$id;
|
||||
}
|
||||
$titles[$id] = $title;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user