From: Joe Hunt Date: Tue, 10 Nov 2009 22:58:30 +0000 (+0000) Subject: type warning in dimension tags X-Git-Tag: v2.4.2~19^2~1035 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=fbdfe3f3da62ecf86e3ad978b89efbb6c317a47a;p=fa-stable.git type warning in dimension tags --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 98077381..c7fd6dfd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -32,6 +32,8 @@ $ /gl/includes/ui/gl_bank_ui.inc # disallow bank accounts in accounts list when type is Bank Deposits or Payments. See above. $ /gl/manage/gl_quick_entries.php +# type warning in dimension tags +$ /admin/tags.php 09-Nov-2009 Janusz Dobrowolski ! Fixed help link to provide ctxhelp switch and clean the page context string. diff --git a/admin/tags.php b/admin/tags.php index 4bc0c854..f87d98d6 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -16,9 +16,9 @@ include_once($path_to_root . "/admin/db/tags_db.inc"); include($path_to_root . "/includes/ui.inc"); // Set up page security based on what type of tags we're working with -if (@$_GET['type'] == "account" || $_POST['type'] == TAG_ACCOUNT) { +if (@$_GET['type'] == "account" || get_post('type') == TAG_ACCOUNT) { $page_security = 'SA_GLACCOUNTTAGS'; -} else if(@$_GET['type'] == "dimension" || $_POST['type'] == TAG_DIMENSION) { +} else if(@$_GET['type'] == "dimension" || get_post('type') == TAG_DIMENSION) { $page_security = 'SA_DIMTAGS'; }