sbpp / sourcebans-pp

Admin, ban, and comms management system for the Source engine
https://sbpp.github.io/
Creative Commons Attribution Share Alike 4.0 International
336 stars 174 forks source link

Fix: prevent php warnings #914

Closed Rushaway closed 4 months ago

Rushaway commented 1 year ago

Description

Add check before using $_GET to prevent warnings

Motivation and Context

https://github.com/sbpp/sourcebans-pp/pull/821 and like page.banlist.php#L722

How Has This Been Tested?

Tested, no more warnings at all.

Screenshots (if appropriate):

Types of changes

Checklist: