Revision 286
Added by stefan almost 19 years ago
move_up.php | ||
---|---|---|
29 | 29 |
if(!isset($_GET['post_id']) OR !is_numeric($_GET['post_id'])) { |
30 | 30 |
if(!isset($_GET['group_id']) OR !is_numeric($_GET['group_id'])) { |
31 | 31 |
header("Location: index.php"); |
32 |
exit(0); |
|
32 | 33 |
} else { |
33 | 34 |
$id = $_GET['group_id']; |
34 | 35 |
$id_field = 'group_id'; |
Also available in: Unified diff
Added an exit call after every heading("Location:...") redirector to prevent unwanted execution of code.