Skip to content

Commit 9a0d117

Browse files
committed
Include query parameters when redirecting incorrect question URL
1 parent 17a9cf0 commit 9a0d117

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

qa-include/pages/question.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
if (trim($q_request, '/') !== trim(qa_request(), '/')) {
8080
// redirect if the current URL is incorrect
81-
qa_redirect($q_request);
81+
qa_redirect($q_request, $_GET);
8282
}
8383

8484
$question['extra'] = $extravalue;

0 commit comments

Comments
 (0)