Skip to content

Commit

Permalink
Fix the layout for our standard (#39301)
Browse files Browse the repository at this point in the history
  • Loading branch information
laoneo authored Nov 24, 2022
1 parent a048385 commit f2943fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/com_users/tmpl/profile/default_custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@
<?php endif; ?>
<dl class="dl-horizontal">
<?php foreach ($fields as $field) : ?>
<?php
// Correct the field name so that subform custom fields show up.
if ($field->type === 'Subform' && $field->fieldname === 'row') : ?>
<?php // Correct the field name so that subform custom fields show up. ?>
<?php if ($field->type === 'Subform' && $field->fieldname === 'row') : ?>
<?php preg_match("/jform\[com_fields]\[(.*)]/", $field->name, $matches); ?>
<?php $field->fieldname = $matches[1]; ?>
<?php endif; ?>
Expand Down

0 comments on commit f2943fc

Please sign in to comment.