summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 90c73d844..f900419cb 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -218,6 +218,7 @@ class File extends CI_Controller {
$redirect = false;
if (!$this->muser->logged_in()) {
+ $this->muser->require_session();
// keep the upload but require the user to login
$this->session->set_userdata("last_upload", array(
"id" => $id,