summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/Main.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php
index 59213de1b..f48596b56 100644
--- a/application/controllers/Main.php
+++ b/application/controllers/Main.php
@@ -435,7 +435,7 @@ class Main extends MY_Controller {
$this->data['title'] .= ' - Upload';
$this->data['small_upload_size'] = $this->config->item('small_upload_size');
$this->data['max_upload_size'] = $this->config->item('upload_max_size');
- $this->data['upload_max_age'] = $this->config->item('upload_max_age')/60/60/24;
+ $this->data['upload_max_age'] = $this->config->item('upload_max_age');
$this->data['username'] = $this->muser->get_username();