forked from extern/egroupware
fix small bug on links
This commit is contained in:
parent
6212ad3c78
commit
6d020a06bd
@ -262,7 +262,7 @@ class bo_resources
|
||||
*/
|
||||
function link_title( $resource )
|
||||
{
|
||||
if (!is_array($resource))
|
||||
if (!is_array($resource) && $resource > 0)
|
||||
{
|
||||
$resource = $this->so->read($resource);
|
||||
$title = $resource['name']. ($resource['short_description'] ? ', ['.$resource['short_description'].']':'');
|
||||
|
Loading…
Reference in New Issue
Block a user