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_tag'])) {
|
||||
|
||||
require_once('post/tag_model.php');
|
||||
require_once 'post/tag_model.php';
|
||||
|
||||
|
||||
mysqli_query($mysqli,"INSERT INTO tags SET tag_name = '$name', tag_type = $type, tag_color = '$color', tag_icon = '$icon'");
|
||||
|
||||
@@ -21,7 +22,8 @@ if (isset($_POST['add_tag'])) {
|
||||
|
||||
if (isset($_POST['edit_tag'])) {
|
||||
|
||||
require_once('post/tag_model.php');
|
||||
require_once 'post/tag_model.php';
|
||||
|
||||
|
||||
$tag_id = intval($_POST['tag_id']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user