diff --git a/app/Classes/LDAP/Attribute.php b/app/Classes/LDAP/Attribute.php index fc15cb4..0d4b241 100644 --- a/app/Classes/LDAP/Attribute.php +++ b/app/Classes/LDAP/Attribute.php @@ -101,9 +101,8 @@ class Attribute implements \Countable, \ArrayAccess, \Iterator $this->lang_tags = collect(); $this->oldValues = collect($values); - // No need to load our schema for internal attributes - if (! $this->is_internal) - $this->schema = (new Server)->schema('attributetypes',$name); + $this->schema = (new Server) + ->schema('attributetypes',$name); /* # Should this attribute be hidden diff --git a/resources/views/frames/dn.blade.php b/resources/views/frames/dn.blade.php index dce9206..bdc5b42 100644 --- a/resources/views/frames/dn.blade.php +++ b/resources/views/frames/dn.blade.php @@ -71,24 +71,9 @@
-
-
- - @foreach ($o->getInternalAttributes() as $ao) - - - - - - - @endforeach -
- {{ $ao->name }} -
- -
-
-
+ @foreach ($o->getInternalAttributes() as $ao) + + @endforeach