fix the failure: Cannot modify header information
This commit is contained in:
parent
e257c17588
commit
9ee4bb0efd
@ -56,9 +56,9 @@ function process_formset(FormDisplay $form_display)
|
||||
<?php
|
||||
} else {
|
||||
// drop post data
|
||||
header('HTTP/1.1 303 See Other');
|
||||
header('Location: index.php');
|
||||
if (!defined('TESTSUITE')) {
|
||||
header('HTTP/1.1 303 See Other');
|
||||
header('Location: index.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user