Commit ca9f11a4 authored by dockx thibault's avatar dockx thibault
Browse files

Merge branch '6369-core-unix-trust-all-report-a-dn-unknown-when-is-set' into 'dev'

Resolve "[Core] - Unix - Trust all report a dn unknown when * is set"

See merge request fusiondirectory/fd!1106
Showing with 8 additions and 0 deletions
+8 -0
...@@ -91,6 +91,14 @@ class ObjectsAttribute extends GenericDialogAttribute ...@@ -91,6 +91,14 @@ class ObjectsAttribute extends GenericDialogAttribute
protected function fillDisplayValue ($i) protected function fillDisplayValue ($i)
{ {
$value = $this->value[$i]; $value = $this->value[$i];
// Fixing potentially visual for wildcard string
if ($value === '*') {
$this->displays[$i] = 'Any';
$this->types[$i] = FALSE;
return;
}
try { try {
if ($this->store_attr == 'dn') { if ($this->store_attr == 'dn') {
$objects = objects::ls($this->selectManagementParameters[0], $this->selectManagementParameters[2], $value, '', FALSE, 'base'); $objects = objects::ls($this->selectManagementParameters[0], $this->selectManagementParameters[2], $value, '', FALSE, 'base');
......
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