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 ...@@ -102,6 +102,13 @@ class SingleUserSelectDialog extends GenericDialog
{ {
protected $dialogClass = 'singleUserSelect'; 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 () function handle_finish ()
{ {
$result = $this->dialog->detectPostActions(); $result = $this->dialog->detectPostActions();
...@@ -706,6 +713,16 @@ class DialogButtonAttribute extends ButtonAttribute ...@@ -706,6 +713,16 @@ class DialogButtonAttribute extends ButtonAttribute
$this->plugin->openDialog(new $this->dialogClass($this->plugin, $this)); $this->plugin->openDialog(new $this->dialogClass($this->plugin, $this));
} }
} }
function getFilterBlackList ()
{
return array();
}
function getFilterWhiteList ()
{
return array();
}
} }
/*! /*!
......
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