fix:change user side bugs
This commit is contained in:
@@ -37,7 +37,7 @@ class CommentController extends Controller
|
||||
'guest_name' => auth()->guest() ? $data['guest_name'] : null,
|
||||
'guest_email' => auth()->guest() ? $data['guest_email'] : null,
|
||||
'comment' => $data['comment'],
|
||||
'status' => CommentStatus::PENDING,
|
||||
'status' => CommentStatus::APPROVED,
|
||||
]);
|
||||
|
||||
return back()->with('success', 'نظر شما ثبت شد.');
|
||||
|
||||
Reference in New Issue
Block a user