Commit 1126034b 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 3adc9163
......@@ -332,4 +332,13 @@ class aclAssignment extends simplePlugin
$ui->loadACL();
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) {
return;
}
parent::foreignKeyUpdate($field, $oldvalue, $newvalue, $source);
}
}
Markdown is supported
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