Ignore:
Timestamp:
Jun 1, 2023, 1:31:28 AM (18 months ago)
Author:
chronos
Message:
  • Fixed: More class type casting.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Ride/PageNewRide.php

    r8 r10  
    6161          'LEFT JOIN CarModel ON CarModel.Id=Car.Model '.
    6262          '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']);
    6464        while ($DbRow = $DbResult->fetch_assoc())
    6565        {
     
    115115      if ($_GET['step'] == '3') {
    116116        $this->Database->insert('Ride', array(
    117           'Driver' => $this->System->User->User['Id'],
     117          'Driver' => Core::Cast($this->System)->User->User['Id'],
    118118          'SeatCount' => $_POST['seats'],
    119119          'Car' => $_POST['car'],
Note: See TracChangeset for help on using the changeset viewer.