mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
Update constructs to not have parenthesis.
This commit is contained in:
@@ -24,7 +24,8 @@ if (isset($_POST['add_calendar'])) {
|
||||
|
||||
if (isset($_POST['add_event'])) {
|
||||
|
||||
require_once('post/event_model.php');
|
||||
require_once 'post/event_model.php';
|
||||
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO events SET event_title = '$title', event_description = '$description', event_start = '$start', event_end = '$end', event_repeat = '$repeat', event_calendar_id = $calendar_id, event_client_id = $client");
|
||||
|
||||
@@ -86,7 +87,8 @@ if (isset($_POST['add_event'])) {
|
||||
|
||||
if (isset($_POST['edit_event'])) {
|
||||
|
||||
require_once('post/event_model.php');
|
||||
require_once 'post/event_model.php';
|
||||
|
||||
|
||||
$event_id = intval($_POST['event_id']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user