From 300bb6e7fe43427bcccab991b181302e47bc760a Mon Sep 17 00:00:00 2001 From: Pol Espinasa Date: Wed, 1 May 2024 17:36:53 +0200 Subject: [PATCH] Linter run --- frontend/web/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/web/index.php b/frontend/web/index.php index f62caa9..75d4c6a 100644 --- a/frontend/web/index.php +++ b/frontend/web/index.php @@ -52,7 +52,7 @@ function processTx(mixed $form, $conn): array { - if (!is_array($form) || empty($form['tx']) || strlen($form['tx']) > 100*1024 || !preg_match('/^([0-9a-fA-F]{2})+$/', $form['tx'])) { + if (!is_array($form) || empty($form['tx']) || strlen($form['tx']) > 100 * 1024 || !preg_match('/^([0-9a-fA-F]{2})+$/', $form['tx'])) { return ['class' => 'alert-danger', 'message' => 'Invalid transaction received.']; }