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

🚑 fix(UserAttribute) Reset blacklist and whitlist to avoid problems

issue #5816
parent 3b3879e4
......@@ -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 ()
  • Update this method so that its implementation is not identical to "getFilterBlackList" on line 717. 📘

Please register or sign in to reply
{
return array();
}
}
/*!
......
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