Commit 73eca226 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(UserAttribute) Reset blacklist and whitlist to avoid problems

issue #5816
Showing with 17 additions and 0 deletions
+17 -0
......@@ -102,6 +102,13 @@ class SingleUserSelectDialog extends GenericDialog
{
protected $dialogClass = 'singleUserSelect';
function dialog_execute ()
{
session::set('filterBlacklist', $this->attribute->getFilterBlackList());
session::set('filterWhitelist', $this->attribute->getFilterWhiteList());
return parent::dialog_execute();
}
function handle_finish ()
{
$result = $this->dialog->detectPostActions();
......@@ -706,6 +713,16 @@ class DialogButtonAttribute extends ButtonAttribute
$this->plugin->openDialog(new $this->dialogClass($this->plugin, $this));
}
}
function getFilterBlackList ()
{
return array();
}
function getFilterWhiteList ()
  • :warning: Update this method so that its implementation is not identical to "getFilterBlackList" on line 717. :blue_book:

    By Ghost User on 2018-04-16T11:40:31 (imported from GitLab)

Please register or sign in to reply
{
return array();
}
}
/*!
......
  • SonarQube analysis reported 1 issue

    • :warning: 1 major

    Watch the comments in this conversation to review them.

    By Ghost User on 2018-04-16T11:40:31 (imported from GitLab)

  • bmortier @bmortier

    mentioned in commit 10db67cc

    By Côme Chilliet on 2018-07-19T13:32:46 (imported from GitLab)

    ·

    mentioned in commit 10db67cc

    By Côme Chilliet on 2018-07-19T13:32:46 (imported from GitLab)

    Toggle commit list
  • bmortier @bmortier

    mentioned in merge request !342

    By Côme Chilliet on 2018-07-19T13:33:08 (imported from GitLab)

    ·

    mentioned in merge request !342

    By Côme Chilliet on 2018-07-19T13:33:08 (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