Changeset 10 for trunk/Modules/Ride/PageNewRide.php
- Timestamp:
- Jun 1, 2023, 1:31:28 AM (18 months ago)
- File:
-
- 1 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'],
Note:
See TracChangeset
for help on using the changeset viewer.