Skip to content

Commit

Permalink
fix problem on the update of the balloon type service
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurent De Coninck committed Oct 30, 2023
1 parent 868f575 commit 7970f58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion admin/vol.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@
1,
2,
'',
1, [],
1,
[],
$buyer->id
); ?>
</td>
Expand Down
2 changes: 1 addition & 1 deletion class/BbcBalloonTypeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function update(User $user, $notrigger = false)
// Update request
$sql = 'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' SET';

$sql .= ' fk_bbc_flight_type = ' . $this->idBalloon . ',';
$sql .= ' fk_bbc_flight_type = ' . $this->idType . ',';
$sql .= ' fk_bbc_balloon = ' . $this->idBalloon . ',';
$sql .= ' fk_product = ' . $this->fkService ;

Expand Down

0 comments on commit 7970f58

Please sign in to comment.