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:
@@ -8,7 +8,8 @@
|
||||
|
||||
if (isset($_POST['add_vendor_template'])) {
|
||||
|
||||
require_once('post/vendor_model.php');
|
||||
require_once 'post/vendor_model.php';
|
||||
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO vendors SET vendor_name = '$name', vendor_description = '$description', vendor_contact_name = '$contact_name', vendor_phone = '$phone', vendor_extension = '$extension', vendor_email = '$email', vendor_website = '$website', vendor_hours = '$hours', vendor_sla = '$sla', vendor_code = '$code', vendor_account_number = '$account_number', vendor_notes = '$notes', vendor_template = 1, vendor_client_id = 0");
|
||||
|
||||
@@ -24,7 +25,8 @@ if (isset($_POST['add_vendor_template'])) {
|
||||
|
||||
if (isset($_POST['edit_vendor_template'])) {
|
||||
|
||||
require_once('post/vendor_model.php');
|
||||
require_once 'post/vendor_model.php';
|
||||
|
||||
|
||||
$vendor_id = intval($_POST['vendor_id']);
|
||||
$vendor_template_id = intval($_POST['vendor_template_id']);
|
||||
@@ -158,7 +160,8 @@ if (isset($_POST['add_vendor_from_template'])) {
|
||||
|
||||
if (isset($_POST['add_vendor'])) {
|
||||
|
||||
require_once('post/vendor_model.php');
|
||||
require_once 'post/vendor_model.php';
|
||||
|
||||
|
||||
$client_id = intval($_POST['client_id']); // Used if this vendor is under a contact otherwise its 0 for under company
|
||||
|
||||
@@ -176,7 +179,8 @@ if (isset($_POST['add_vendor'])) {
|
||||
|
||||
if (isset($_POST['edit_vendor'])) {
|
||||
|
||||
require_once('post/vendor_model.php');
|
||||
require_once 'post/vendor_model.php';
|
||||
|
||||
|
||||
$vendor_id = intval($_POST['vendor_id']);
|
||||
$vendor_template_id = intval($_POST['vendor_template_id']);
|
||||
|
||||
Reference in New Issue
Block a user