X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Ftags.php;h=f87d98d6c69c8c0de417ff1fd005fdc90178c505;hb=0bf933423b9645bcb57390c478d4fdaf0c895049;hp=4bc0c8548b6ec83f365d5c491612e63a57651bb1;hpb=82d11f8bcfcdfbb353ae54065e4eb11b19ce74d4;p=fa-stable.git 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'; }