File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ public function hooks() {
46
46
*/
47
47
public function resources ( $ p_event ) {
48
48
# Only include the javascript when it's actually needed
49
- parse_str ( parse_url ( $ _SERVER ['REQUEST_URI ' ], PHP_URL_QUERY ), $ t_query );
49
+ $ t_url_query = parse_url ( $ _SERVER ['REQUEST_URI ' ] , PHP_URL_QUERY );
50
+ parse_str ( $ t_url_query ?? '' , $ t_query );
50
51
if ( array_key_exists ( 'page ' , $ t_query ) ) {
51
52
$ t_page = basename ( $ t_query ['page ' ] );
52
53
if ( $ t_page == 'repo_update_page ' ) {
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ specification.
10
10
11
11
# Releases for MantisBT 2.x
12
12
13
+ ## [ Unreleased]
14
+
15
+ ### Fixed
16
+
17
+ - PHP 8.1 compatibility
18
+ [ #391 ] ( https://github.com/mantisbt-plugins/source-integration/issues/391 )
19
+
20
+
13
21
## [ 2.5.1] - 2022-02-10
14
22
15
23
### Fixed
You can’t perform that action at this time.
0 commit comments