From 1a5066492943fb95486a6dcb5554a6f20339c435 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 23 Feb 2022 10:46:05 +0000 Subject: [PATCH] Apply fixes from StyleCI --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index a6819ae..3d29da2 100644 --- a/index.php +++ b/index.php @@ -277,7 +277,7 @@ try { $res = $pdo->prepare('REPLACE INTO code_errors VALUES (?);')->execute([$_REQUEST['code']]); } elseif (in_array($_REQUEST['error'], ['RPC_CALL_FAIL', 'RPC_MCGET_FAIL', 'INTERDC_5_CALL_ERROR', 'INTERDC_4_CALL_ERROR', 'INTERDC_3_CALL_ERROR', 'INTERDC_2_CALL_ERROR', 'INTERDC_1_CALL_ERROR', 'INTERDC_5_CALL_RICH_ERROR', 'INTERDC_4_CALL_RICH_ERROR', 'INTERDC_3_CALL_RICH_ERROR', 'INTERDC_2_CALL_RICH_ERROR', 'INTERDC_1_CALL_RICH_ERROR'])) { $res = true; - //$res = $pdo->prepare('INSERT INTO rip VALUES (FROM_UNIXTIME(?));')->execute([time()]); + //$res = $pdo->prepare('INSERT INTO rip VALUES (FROM_UNIXTIME(?));')->execute([time()]); } elseif (in_array($_REQUEST['error'], ['BOT_METHOD_INVALID'])) { if (is_numeric($_REQUEST['method'])) { require 'vendor/autoload.php';