mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Update constructs to not have parenthesis.
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
|
||||
if (isset($_POST['add_trip'])) {
|
||||
|
||||
require_once('post/trip_model.php');
|
||||
require_once 'post/trip_model.php';
|
||||
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO trips SET trip_date = '$date', trip_source = '$source', trip_destination = '$destination', trip_miles = $miles, round_trip = $roundtrip, trip_purpose = '$purpose', trip_user_id = $user_id, trip_client_id = $client_id");
|
||||
|
||||
@@ -21,7 +22,8 @@ if (isset($_POST['add_trip'])) {
|
||||
|
||||
if (isset($_POST['edit_trip'])) {
|
||||
|
||||
require_once('post/trip_model.php');
|
||||
require_once 'post/trip_model.php';
|
||||
|
||||
|
||||
$trip_id = intval($_POST['trip_id']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user