We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b35456b commit 4e9b6d0Copy full SHA for 4e9b6d0
forum/qa-plugin/send-pw-on-register/qa-pw-admin.php
@@ -8,7 +8,7 @@ public function admin_form(&$qa_content)
8
9
if (qa_clicked('sendPwMessageOnRegister_save')) {
10
qa_opt('sendPwMessageOnRegister_messageContent', qa_post_text('messageContent'));
11
- qa_opt('sendPwMessageOnRegister_enabled', qa_post_text('enablePlugin'));
+ qa_opt('sendPwMessageOnRegister_enabled', (bool) qa_post_text('enablePlugin'));
12
qa_opt('sendPwMessageOnRegister_botId', qa_post_text('botId'));
13
14
$isSaved = true;
0 commit comments