Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

modify_group.php
18 18

  
19 19
require('../../config.php');
20 20

  
21
// $admin_header = true;
22
// Tells script to update when this page was last updated
23
$update_when_modified = false;
24
// show the info banner
25
$print_info_banner = true;
21 26
// Include WB admin wrapper script
22 27
require(WB_PATH.'/modules/admin.php');
23 28
/* */
24
$group_id = $admin->checkIDKEY('group_id', false, 'GET');
29
$group_id = intval($admin->checkIDKEY('group_id', false, 'GET'));
25 30
if (!$group_id) {
26 31
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'], WB_URL.'/modules/news/modify_group.php?page_id='.$page_id.'&section_id='.$section_id.'&group_id='.$admin->getIDKEY($group_id));
27
	exit();
28 32
}
29 33

  
30 34
// Get header and footer
......
95 99

  
96 100
// Print admin footer
97 101
$admin->print_footer();
98

  
99
?>
100 102

  

Also available in: Unified diff