summaryrefslogtreecommitdiff
path: root/includes/pages/user_questions.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/user_questions.php')
-rw-r--r--includes/pages/user_questions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_questions.php b/includes/pages/user_questions.php
index ab836c77..13f58b10 100644
--- a/includes/pages/user_questions.php
+++ b/includes/pages/user_questions.php
@@ -33,8 +33,8 @@ function user_questions()
$question = request()->get('question');
if (!empty($question) && $request->hasPostData('submit')) {
Question::create([
- 'enquirer_id' => $user->id,
- 'question' => $question,
+ 'user_id' => $user->id,
+ 'text' => $question,
]);
success(__('You question was saved.'));