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

Showing with 9 additions and 0 deletions
+9 -0
......@@ -331,4 +331,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);
}
}
  • bmortier @bmortier

    mentioned in issue #1166

    By Côme Chilliet on 2017-09-02T15:15:34 (imported from GitLab)

    ·

    mentioned in issue #1166

    By Côme Chilliet on 2017-09-02T15:15:34 (imported from GitLab)

    Toggle commit list
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