mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-05 04:50:13 +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();
|
$titles = array();
|
||||||
foreach(explode(',',$id) as $id)
|
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;
|
$titles[$id] = $title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user