From: Janusz Dobrowolski Date: Thu, 22 Oct 2009 11:25:46 +0000 (+0000) Subject: Fixed include order. X-Git-Tag: v2.4.2~19^2~1101 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0a54401687d228d16d9048f69b8003a6ca23c900;p=fa-stable.git Fixed include order. --- 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.