Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JMStewart00/6f8eb87fd208676a7816a885ef664551 to your computer and use it in GitHub Desktop.
Save JMStewart00/6f8eb87fd208676a7816a885ef664551 to your computer and use it in GitHub Desktop.
diff --git a/core/modules/system/src/Form/FileSystemForm.php b/core/modules/system/src/Form/FileSystemForm.php
index d81488b44e..ded629db47 100644
--- a/core/modules/system/src/Form/FileSystemForm.php
+++ b/core/modules/system/src/Form/FileSystemForm.php
@@ -136,7 +136,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
];
}
- $intervals = [0, 21600, 43200, 86400, 604800, 2419200, 7776000];
+ $intervals = [0, 3600, 21600, 43200, 86400, 604800, 2419200, 7776000];
$period = array_combine($intervals, array_map([$this->dateFormatter, 'formatInterval'], $intervals));
$period[0] = t('Never');
$form['temporary_maximum_age'] = [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment