mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSrelation : fix check right on relation with specific object
This commit is contained in:
parent
7909d55b39
commit
b067c943ed
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ class LSrelation {
|
|||
}
|
||||
|
||||
public function canEditRelationWithObject($objRel) {
|
||||
if (!$this -> canEdit()) return;
|
||||
if (isset($this -> config['canEdit_function'])) {
|
||||
if (method_exists($objRel,$this -> config['canEdit_function'])) {
|
||||
return call_user_func(array($objRel, $this -> config['canEdit_function']));
|
||||
|
|
Loading…
Reference in a new issue