Commit 1664266d authored by Karamel's avatar Karamel
Browse files

Fix importdb script with postgresql.

parent da538e69
......@@ -418,7 +418,7 @@ if ($stmt->execute()) {
$prd->setPriceBuy($row['PRICEBUY']);
$prd->setPriceSell($row['PRICESELL']);
$prd->setVisible(true);
$prd->setScaled($row['ISSCALE']);
$prd->setScaled(readbool($row['ISSCALE']));
$stmt2->bindValue(':id', $row['ID']);
if ($stmt2->execute()) {
if ($row2 = $stmt2->fetch()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment