From aa013ee01f38a855121584a2b56a85d7b5b4f28a Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Tue, 7 May 2013 23:11:37 +0000 Subject: [PATCH] Corrected browser title to display properly for Extension Edit and Add. --- app/extensions/extension_edit.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index 98d4753a4a..42b20ccb58 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -662,7 +662,12 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //begin the page content require_once "includes/header.php"; + if ($action == "update") { $page["title"] = $text['title-extension-edit']; + } + else if ($action == "add") { + $page["title"] = $text['title-extension-add']; + } echo "