Fixed an error when adding object and there are no Userfields (references b0d38b87de)

This commit is contained in:
Bernd Bestel 2021-07-09 21:30:35 +02:00
parent 8348438148
commit 72e6ed76bf
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
@if(count($userfields) > 0)
@if($userfields && count($userfields) > 0)
@foreach($userfields as $userfield)

View File

@ -1,4 +1,4 @@
@if(count($userfields) > 0)
@if($userfields && count($userfields) > 0)
@foreach($userfields as $userfield)