tessus / mwExtensionMantis

MediaWiki Extension:Mantis
https://www.mediawiki.org/wiki/Extension:Mantis
GNU General Public License v2.0
2 stars 6 forks source link

Avoid accessing arrays that are null or not set #37

Closed Arevall closed 9 months ago

Arevall commented 9 months ago

Added some checks for arrays that can be null. This fixes some errors with PHP 7.4+

tessus commented 9 months ago

Btw, when I look at the code there are a lot of other areas that need additional checks as well. I think I will have to fix the entire code at one point. ;-)