Commit 0e064e86 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch '5896-add-a-generic-objectlinkattribute' into '1.4-dev'

Resolve "Add a generic ObjectLinkAttribute"

See merge request fusiondirectory/fd!415
Showing with 4 additions and 0 deletions
+4 -0
......@@ -909,6 +909,10 @@ class ObjectLinkAttribute extends DisplayLDAPAttribute
function renderFormInput ()
{
if (empty($this->value)) {
return '';
}
try {
return objects::link($this->value, $this->type);
} catch (NonExistingLdapNodeException $e) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment