- 'start_date' => generateDateTime($row['start_time'], 2),
- 'end_date' => generateDateTime($row['end_time'] , 2),
- 'active_lnk' => translateYesNo($row['is_active']),
- 'notify_lnk' => translateYesNo($row['send_notify']),
- 'auto_lnk' => translateYesNo($row['auto_add_new_user']),
- 'notified' => translateYesNo($row['notified']),
- 'prices_cnt' => translateComma(countSumTotalData($row['id'], 'rallye_prices', 'id', 'rallye_id', true)),
- 'descr' => $row['descr'],
- 'min_users' => $row['min_users'],
- 'min_prices' => $row['min_prices'],
+ 'start_date' => generateDateTime($data['start_time'], 2),
+ 'end_date' => generateDateTime($data['end_time'] , 2),
+ 'active_lnk' => translateYesNo($data['is_active']),
+ 'notify_lnk' => translateYesNo($data['send_notify']),
+ 'auto_lnk' => translateYesNo($data['auto_add_new_user']),
+ 'notified' => translateYesNo($data['notified']),
+ 'prices_cnt' => translateComma(countSumTotalData($data['id'], 'rallye_prices', 'id', 'rallye_id', true)),
+ 'descr' => $data['descr'],
+ 'min_users' => $data['min_users'],
+ 'min_prices' => $data['min_prices'],