Revision 286
Added by stefan over 18 years ago
view_submission.php | ||
---|---|---|
33 | 33 |
// Get id |
34 | 34 |
if(!isset($_GET['submission_id']) OR !is_numeric($_GET['submission_id'])) { |
35 | 35 |
header("Location: ".ADMIN_URL."/pages/index.php"); |
36 |
exit(0); |
|
36 | 37 |
} else { |
37 | 38 |
$submission_id = $_GET['submission_id']; |
38 | 39 |
} |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.