diff options
author | Hrvoje Hodak <me@tribly.de> | 2018-01-26 15:09:29 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-01-31 17:05:35 +0100 |
commit | 1c015d938ed4f31ffa647bcbcaaa8fd1ecf72c9f (patch) | |
tree | 04d4616e0a3860d39bc8ed05d65eb83df0606208 /application/controllers/Main.php | |
parent | 283b4a4a1d8246c180a5be75558aa88847a1d6c5 (diff) |
Proper display of expiration duration for less than a day
Diffstat (limited to 'application/controllers/Main.php')
-rw-r--r-- | application/controllers/Main.php | 2 |
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(); |