wrong written fetch
This commit is contained in:
1 parent
291bda45e6
commit
78a3feee54
1 file changed
+1
-1
@@ -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->item(0)["id"];
|
||||
$content_currency_id = $result->fetch_assoc()->item(0)["id"];
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user