From 7c6afc2bfe3263b91ecabf5530da57fe1162ea0b Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 10 Oct 2018 03:10:28 +0200 Subject: Removed `User($id)` function :tada: --- includes/pages/admin_questions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/pages/admin_questions.php') diff --git a/includes/pages/admin_questions.php b/includes/pages/admin_questions.php index 02f53d93..85d62362 100644 --- a/includes/pages/admin_questions.php +++ b/includes/pages/admin_questions.php @@ -68,7 +68,7 @@ function admin_questions() $questions = DB::select('SELECT * FROM `Questions` WHERE NOT `AID` IS NULL'); foreach ($questions as $question) { $user_source = User::find($question['UID']); - $answer_user_source = User($question['AID']); + $answer_user_source = User::find($question['AID']); $answered_questions_table[] = [ 'from' => User_Nick_render($user_source), 'question' => str_replace("\n", '
', $question['Question']), -- cgit v1.3.1