From 6e8c133a99e0a8d97942365629d023319283fdc3 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Fri, 3 Oct 2025 11:25:48 -0400 Subject: [PATCH] Fix Regressions in Vendor Templates updated path from ../user/post to ../agent/post --- admin/post/vendor_template.php | 2 +- agent/post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/post/vendor_template.php b/admin/post/vendor_template.php index 09dfab16..34336267 100644 --- a/admin/post/vendor_template.php +++ b/admin/post/vendor_template.php @@ -5,7 +5,7 @@ defined('FROM_POST_HANDLER') || die("Direct file access is not allowed"); // Import shared code from user-side vendor management as we reuse functions -require_once '../user/post/vendor.php'; +require_once '../agent/post/vendor.php'; if (isset($_POST['add_vendor_template'])) { diff --git a/agent/post.php b/agent/post.php index b478c9c1..9f2f6f96 100644 --- a/agent/post.php +++ b/agent/post.php @@ -26,7 +26,7 @@ $module = str_ireplace('_details', '', $module); // Dynamically load admin-related module POST logic // Load all module POST logic -// Loads everything in post/user/ +// Loads everything in post // Eventually, it would be nice to only specifically load what we need like we do for admins foreach (glob("post/*.php") as $user_module) {