mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
Merge pull request #151 from patbolo/fix/script-timeout-csv
Fix/script timeout csv
This commit is contained in:
commit
39979a6bbc
@ -77,6 +77,8 @@ class SubmittedFormReportField extends FormField {
|
||||
* @return HTTPResponse / bool
|
||||
*/
|
||||
public function export($id = false) {
|
||||
// The default max execution time is sometimes not enough for large number of submissions
|
||||
increase_time_limit_to(600);
|
||||
if($id && is_int($id)) {
|
||||
$SQL_ID = $id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user