Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 11, 2023
1 parent 71fd2ff commit d8733d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Forms/Rendering/DefaultFormRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,7 @@ class DefaultFormRenderer implements Nette\Forms\FormRenderer
*/
public function render(Nette\Forms\Form $form, ?string $mode = null): string
{
if ($this->form !== $form) {
$this->form = $form;
}
$this->form = $form;

$s = '';
if (!$mode || $mode === 'begin') {
Expand Down

0 comments on commit d8733d1

Please sign in to comment.