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"] <> "") {