summaryrefslogtreecommitdiff
path: root/errors.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-05 23:41:32 +0300
committerAndrew Dolgov <[email protected]>2021-02-05 23:41:32 +0300
commit403dca154c6b539de221f9e16174a0fdd0a1e896 (patch)
tree8187096f0e04ecb60440c8551514d990d0e85b2d /errors.php
parentb4cbc792cc5fbbd5356f91038bf6cf5e67a19e42 (diff)
initial WIP for php8; bump php version requirement to 7.0
Diffstat (limited to 'errors.php')
-rw-r--r--errors.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/errors.php b/errors.php
index b4d5f0d67..597c8429c 100644
--- a/errors.php
+++ b/errors.php
@@ -44,7 +44,7 @@
return $ERRORS;
}
- if ($_REQUEST['mode'] == 'js') {
+ if ($_REQUEST['mode'] ?? "" == 'js') {
header("Content-Type: text/javascript; charset=UTF-8");
print "var ERRORS = [];\n";