Project

General

Profile

« Previous | Next » 

Revision 286

Added by stefan over 18 years ago

Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.

View differences:

delete_group.php
28 28
// Get id
29 29
if(!isset($_GET['group_id']) OR !is_numeric($_GET['group_id'])) {
30 30
	header("Location: ".ADMIN_URL."/pages/index.php");
31
	exit(0);
31 32
} else {
32 33
	$group_id = $_GET['group_id'];
33 34
}

Also available in: Unified diff