From 31910967a442834b71acb49d32197b54a1f3f52a Mon Sep 17 00:00:00 2001 From: Stacy Date: Tue, 23 Apr 2024 08:58:19 +0800 Subject: [PATCH] Modal spacing issues --- user-profile.php | 6 +++--- vendor-settings.php | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/user-profile.php b/user-profile.php index e7d66fb..334725b 100644 --- a/user-profile.php +++ b/user-profile.php @@ -250,7 +250,7 @@ if ($_SESSION["isVendor"] == true) { diff --git a/vendor-settings.php b/vendor-settings.php index e81fa6c..3d976e4 100644 --- a/vendor-settings.php +++ b/vendor-settings.php @@ -21,6 +21,12 @@ if ($_SESSION["userId"] <> "") { $_SESSION["isLoggedIn"] = false; header("location: login.php"); } + +if ($_SESSION["isCustomer"] == true) { + header("location: user-profile.php"); +} + + ?> @@ -220,7 +226,7 @@ if ($_SESSION["userId"] <> "") {
-
Contact number
+
Contact nubmer
@@ -298,7 +304,7 @@ if ($_SESSION["userId"] <> "") { @@ -513,7 +519,7 @@ if ($_SESSION["userId"] <> "") {