File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ public function hooks() {
4646 */
4747 public function resources ( $ p_event ) {
4848 # 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 );
5051 if ( array_key_exists ( 'page ' , $ t_query ) ) {
5152 $ t_page = basename ( $ t_query ['page ' ] );
5253 if ( $ t_page == 'repo_update_page ' ) {
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ specification.
1010
1111# Releases for MantisBT 2.x
1212
13+ ## [ Unreleased]
14+
15+ ### Fixed
16+
17+ - PHP 8.1 compatibility
18+ [ #391 ] ( https://github.com/mantisbt-plugins/source-integration/issues/391 )
19+
20+
1321## [ 2.5.1] - 2022-02-10
1422
1523### Fixed
You can’t perform that action at this time.
0 commit comments