Update .gitignore to ignore the new custom/*
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -25,5 +25,6 @@ plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/CSS/*
|
|||||||
xcustom/*
|
xcustom/*
|
||||||
!xcustom/readme.php
|
!xcustom/readme.php
|
||||||
post/xcustom
|
post/xcustom
|
||||||
|
custom/*
|
||||||
!post/xcustom/readme.php
|
!post/xcustom/readme.php
|
||||||
.zed
|
.zed
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ if (isset($_POST['edit_vendor_template'])) {
|
|||||||
$code = sanitizeInput($_POST['code']);
|
$code = sanitizeInput($_POST['code']);
|
||||||
$notes = sanitizeInput($_POST['notes']);
|
$notes = sanitizeInput($_POST['notes']);
|
||||||
|
|
||||||
if ($_POST['global_update_vendor_name'] == 1) {
|
if ($_POST['global_update_vendor_name'] == 1 ?? 0) {
|
||||||
$sql_global_update_vendor_name = ", vendor_name = '$name'";
|
$sql_global_update_vendor_name = ", vendor_name = '$name'";
|
||||||
} else {
|
} else {
|
||||||
$sql_global_update_vendor_name = "";
|
$sql_global_update_vendor_name = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user