Skip to content

Commit 3984200

Browse files
authored
Update BinshopsCommentWriterController.php
Corrected the check for email instead of website in email field.
1 parent 29b9e56 commit 3984200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Controllers/BinshopsCommentWriterController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function createNewComment(AddNewCommentRequest $request, $blog_post)
8181
if (config("binshopsblog.comments.ask_for_author_website")) {
8282
$new_comment->author_website = $request->get('author_website');
8383
}
84-
if (config("binshopsblog.comments.ask_for_author_website")) {
84+
if (config("binshopsblog.comments.ask_for_author_email")) {
8585
$new_comment->author_email = $request->get('author_email');
8686
}
8787
if (config("binshopsblog.comments.save_user_id_if_logged_in", true) && Auth::check()) {

0 commit comments

Comments
 (0)