diff options
| author | Appleman1234 <applemansigloo@gmail.com> | 2022-09-25 13:30:13 +1000 |
|---|---|---|
| committer | Appleman1234 <applemansigloo@gmail.com> | 2022-09-25 13:30:13 +1000 |
| commit | 2c69095a1edf7474073451285238659d0f62ce3f (patch) | |
| tree | 5dee476605402c66dc2853d0836b29f6aedae62b /log.php | |
| parent | e9a61e2fbbd930eaa80d6a5f33420cedc59d748c (diff) | |
PHP8.1 fixes from Rector
Diffstat (limited to 'log.php')
| -rw-r--r-- | log.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ include 'inc/bootstrap.php'; include 'inc/mod/pages.php'; -if (!isset($_GET['board']) || !preg_match("/{$config['board_regex']}/u", $_GET['board'])) { +if (!isset($_GET['board']) || !preg_match("/{$config['board_regex']}/u", (string) $_GET['board'])) { http_response_code(400); error('Bad board.'); } |
