Wizard: Fix that the wrong form element is used in case a user already exists

fixes #8678
This commit is contained in:
Johannes Meyer 2015-03-11 07:58:40 +01:00
parent e72e340faa
commit e4e6c1cb28
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ $showRadioBoxes = strpos(strtolower(get_class($radioElem)), 'radio') !== false;
<?php if (($existingUserElem = $form->getElement('existing_user')) !== null): ?>
<div>
<div class="instructions">
<?= $showRadioBoxes ? $byNameElem->setAttrib('data-related-radiobtn', 'existing_user') : $existingUserElem; ?>
<?= $showRadioBoxes ? $existingUserElem->setAttrib('data-related-radiobtn', 'existing_user') : $existingUserElem; ?>
</div>
<?php if ($showRadioBoxes): ?>
<div class="radiobox">