fixed db get

This commit is contained in:
2025-05-29 14:18:00 +02:00
parent ed4c03fb61
commit 91ef2ead71
+1 -1
View File
@@ -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[0]["id"];
$content_currency_id = $result["id"];
/*