Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
SAMBUMBA
pasteque-server
Commits
07e9fa0f
Commit
07e9fa0f
authored
Dec 25, 2017
by
Karamel
Browse files
Fix importdb script with Tariff areas.
parent
d6b89df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/upgrade7/importdb.php
View file @
07e9fa0f
...
...
@@ -472,7 +472,7 @@ if ($stmt->execute()) {
$stmt2
->
bindValue
(
':id'
,
$row
[
'ID'
]);
$ta
=
new
\
Pasteque\Server\Model\TariffArea
();
$ta
->
setLabel
(
$row
[
'NAME'
]);
$ta
->
setDispOrder
(
$row
[
'DISPORDER'
]
);
$ta
->
setDispOrder
(
0
);
if
(
$stmt2
->
execute
())
{
if
(
$row2
=
$stmt2
->
fetch
())
{
$price
=
new
\
Pasteque\Server\Model\TariffAreaPrice
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment