From d6db1f5e04d0accb4be7a9e780cb2562647ffdb2 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 10 Oct 2014 15:10:09 -0500
Subject: [PATCH] oops: Fix profile edit when self registration disabled

---
 include/client/header.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/client/header.inc.php b/include/client/header.inc.php
index 3f84db8d1..9fdea9c36 100644
--- a/include/client/header.inc.php
+++ b/include/client/header.inc.php
@@ -51,7 +51,7 @@ header("Content-Type: text/html; charset=UTF-8\r\n");
                     && !$thisclient->isGuest()) {
                  echo Format::htmlchars($thisclient->getName()).'&nbsp;|';
                  ?>
-                <a href="<?php echo ROOT_PATH; ?>account.php">Profile</a> |
+                <a href="<?php echo ROOT_PATH; ?>profile.php">Profile</a> |
                 <a href="<?php echo ROOT_PATH; ?>tickets.php">Tickets <b>(<?php echo $thisclient->getNumTickets(); ?>)</b></a> -
                 <a href="<?php echo $signout_url; ?>">Sign Out</a>
             <?php
-- 
GitLab