Update .gitignore to ignore the new custom/*

This commit is contained in:
johnnyq 2025-09-05 12:57:19 -04:00
parent aa516529e7
commit 27b3124f77
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -25,5 +25,6 @@ plugins/htmlpurifier/standalone/HTMLPurifier/DefinitionCache/Serializer/CSS/*
xcustom/*
!xcustom/readme.php
post/xcustom
custom/*
!post/xcustom/readme.php
.zed

View File

@ -52,7 +52,7 @@ if (isset($_POST['edit_vendor_template'])) {
$code = sanitizeInput($_POST['code']);
$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'";
} else {
$sql_global_update_vendor_name = "";