Skip to content

Commit e92e1b9

Browse files
committed
fix: added missing check for radio button
1 parent e89e839 commit e92e1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phpmyfaq/src/phpMyFAQ/Controller/Administration/FaqController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function add(Request $request): Response
154154
PermissionType::FAQ_APPROVE->value
155155
),
156156
'isActive' => null,
157-
'isInActive' => null,
157+
'isInActive' => 'checked',
158158
'nextSolutionId' => $faq->getNextSolutionId(),
159159
'nextFaqId' => $this->configuration->getDb()->nextId(Database::getTablePrefix() . 'faqdata', 'id'),
160160
]

0 commit comments

Comments
 (0)