Commit aaa90738 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3495 foreignKey on acls is handled several times

parent b6663e2a
......@@ -331,4 +331,13 @@ class aclAssignment extends simplePlugin
session::global_set('ui', $ui);
function foreignKeyUpdate ($field, $oldvalue, $newvalue, $source)
/* Handle foreign keys only as the main tab so that they are not handled twice */
if ($this->parent->getBaseObject() !== $this) {
parent::foreignKeyUpdate($field, $oldvalue, $newvalue, $source);
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