From 1c015d938ed4f31ffa647bcbcaaa8fd1ecf72c9f Mon Sep 17 00:00:00 2001 From: Hrvoje Hodak Date: Fri, 26 Jan 2018 15:09:29 +0100 Subject: Proper display of expiration duration for less than a day --- application/controllers/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers') 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(); -- cgit v1.2.3-24-g4f1b