<commit_before><?php
include ("../lib/admin.defines.php");
include ("../lib/admin.module.access.php");
include ("../lib/admin.smarty.php");

if (! has_rights (ACX_INVOICING)) {
	Header ("HTTP/1.0 401 Unauthorized");
	Header ("Location: PP_error.php?c=accessdenied");
	die();
}

getpost_ifset(array('id','addrate','delrate'));

if (empty($id)) {
	Header ("Location: A2B_entity_package.php?atmenu=package&section=12");<commit_msg>Correct Security check<commit_after><?php
include ("../lib/admin.defines.php");
include ("../lib/admin.module.access.php");
include ("../lib/admin.smarty.php");

if (! has_rights (ACX_PACKAGEOFFER)) {
	Header ("HTTP/1.0 401 Unauthorized");
	Header ("Location: PP_error.php?c=accessdenied");
	die();
}

getpost_ifset(array('id','addrate','delrate'));

if (empty($id)) {
	Header ("Location: A2B_entity_package.php?atmenu=package&section=12");
{'fraction_non_alphanumeric': 0.21889400921658986, 'fraction_numerical': 0.018433179723502304, 'mean_word_length': 6.427350427350428, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5887852', 'n_tokens_mistral': 324, 'n_tokens_neox': 314, 'n_words': 49}