Revert c56df8d3d and remove adding Objects directly - taking a different approach to add template actions
This commit is contained in:
@@ -64,8 +64,7 @@ class HomeController extends Controller
|
||||
->filter(fn($item)=>$item->names_lc->intersect($template->attributes->map('strtolower'))->count())
|
||||
->sortBy(fn($item)=>Arr::get($template->order,$item->name)) as $ao)
|
||||
{
|
||||
$o->addObjectItem($ao->name,
|
||||
Factory::create(dn: '',attribute: $ao->name,values: [Entry::TAG_NOTAG=>''],oc: $o->objectclass));
|
||||
$o->{$ao->name} = [Entry::TAG_NOTAG=>''];
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user