Commit 07e9fa0f authored by Karamel's avatar Karamel
Browse files

Fix importdb script with Tariff areas.

parent d6b89df9
...@@ -472,7 +472,7 @@ if ($stmt->execute()) { ...@@ -472,7 +472,7 @@ if ($stmt->execute()) {
$stmt2->bindValue(':id', $row['ID']); $stmt2->bindValue(':id', $row['ID']);
$ta = new \Pasteque\Server\Model\TariffArea(); $ta = new \Pasteque\Server\Model\TariffArea();
$ta->setLabel($row['NAME']); $ta->setLabel($row['NAME']);
$ta->setDispOrder($row['DISPORDER']); $ta->setDispOrder(0);
if ($stmt2->execute()) { if ($stmt2->execute()) {
if ($row2 = $stmt2->fetch()) { if ($row2 = $stmt2->fetch()) {
$price = new \Pasteque\Server\Model\TariffAreaPrice(); $price = new \Pasteque\Server\Model\TariffAreaPrice();
......
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