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_field.php
33 33
// Get id
34 34
if(!isset($_GET['field_id']) OR !is_numeric($_GET['field_id'])) {
35 35
	header("Location: ".ADMIN_URL."/pages/index.php");
36
	exit(0);
36 37
} else {
37 38
	$field_id = $_GET['field_id'];
38 39
}

Also available in: Unified diff