From 0a54401687d228d16d9048f69b8003a6ca23c900 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Thu, 22 Oct 2009 11:25:46 +0000 Subject: [PATCH] Fixed include order. --- admin/tags.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/tags.php b/admin/tags.php index 9bb6c6d4..ff8cac51 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -10,8 +10,6 @@ See the License here . ***********************************************************************/ $path_to_root = ".."; -include_once($path_to_root . "/includes/types.inc"); // For tag constants - // Set up page security based on what type of tags we're working with if ($_GET['type'] == "account" || $_POST['type'] == TAG_ACCOUNT) { $page_security = 'SA_GLACCOUNTTAGS'; @@ -20,6 +18,7 @@ if ($_GET['type'] == "account" || $_POST['type'] == TAG_ACCOUNT) { } include($path_to_root . "/includes/session.inc"); // Define session before using $_SESSION +include_once($path_to_root . "/includes/types.inc"); // For tag constants if (!isset($page_security)) { // If GET & POST don't have the info, try getting it from the session. -- 2.30.2