From 46cc5135b2eb2702f3d76c2a0c57f393f995e691 Mon Sep 17 00:00:00 2001 From: SiskelDev Date: Thu, 29 May 2025 14:41:53 +0200 Subject: [PATCH] removed array selection --- admin/redirectFromJinxxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/redirectFromJinxxy.php b/admin/redirectFromJinxxy.php index f002d46..964401d 100644 --- a/admin/redirectFromJinxxy.php +++ b/admin/redirectFromJinxxy.php @@ -542,7 +542,7 @@ $currency_currency = strtolower($productData->currency_code); $databaseConnection = new mysqli("localhost", "furatalog_usr", "1yRNpaUtXu[cw@-m", "furatalog"); $result = $databaseConnection->query("SELECT * FROM `currency` WHERE currency=\"" . $currency_currency . "\";"); -$content_currency_id = $result->fetch_assoc()[0]["id"]; +$content_currency_id = $result->fetch_assoc()["id"]; /*