Skip to content

Commit

Permalink
fix qr code return
Browse files Browse the repository at this point in the history
  • Loading branch information
sveneld committed May 30, 2024
1 parent f3caef4 commit e304d37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Rent/RentSystemQR.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function returnBike($userId, $bikeId, $standName, $note = '', $force = fa

$result = $this->db->query("SELECT bikeNum FROM bikes WHERE currentUser=$userId ORDER BY bikeNum");
$bikeNumber = $result->rowCount();
$bikeId = $result->fetchAssoc()['bikeNum'];

if ($bikeNumber > 1) {
$message = _('You have') . ' ' . $bikeNumber . ' '
Expand Down

0 comments on commit e304d37

Please sign in to comment.