Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 21, 2024
1 parent ee43bfc commit f373bcd
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 f373bcd

Please sign in to comment.