Changeset 10 for trunk/Modules/Ride
- Timestamp:
- Jun 1, 2023, 1:31:28 AM (19 months ago)
- Location:
- trunk/Modules/Ride
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Ride/PageNewRide.php
r8 r10 61 61 'LEFT JOIN CarModel ON CarModel.Id=Car.Model '. 62 62 'LEFT JOIN CarManufacturer ON CarManufacturer.Id = CarModel.Manufacturer '. 63 'WHERE Car.Owner='. $this->System->User->User['Id']);63 'WHERE Car.Owner='.Core::Cast($this->System)->User->User['Id']); 64 64 while ($DbRow = $DbResult->fetch_assoc()) 65 65 { … … 115 115 if ($_GET['step'] == '3') { 116 116 $this->Database->insert('Ride', array( 117 'Driver' => $this->System->User->User['Id'],117 'Driver' => Core::Cast($this->System)->User->User['Id'], 118 118 'SeatCount' => $_POST['seats'], 119 119 'Car' => $_POST['car'], -
trunk/Modules/Ride/PageRideDetail.php
r8 r10 108 108 $this->System->Database->insert('Passenger', array( 109 109 'Ride' => $_POST['id'], 110 'User' => $this->System->User->User['Id'],110 'User' => Core::Cast($this->System)->User->User['Id'], 111 111 'SeatCount' => $_POST['seats'], 112 112 'RideStopFrom' => $_POST['fromid'],
Note:
See TracChangeset
for help on using the changeset viewer.