From 414987aa37827d456b555e5527806e3926aba66e Mon Sep 17 00:00:00 2001 From: ovclas Date: Tue, 28 Feb 2012 06:18:16 +0000 Subject: [PATCH] issue 1165 add column upload_target_type git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10239 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/file/file.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 874b267d7..4c1d744a3 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -121,7 +121,7 @@ $sid = Context::get('sid'); $logged_info = Context::get('logged_info'); // Get file information from the DB - $columnList = array('file_srl', 'sid', 'isvalid', 'source_filename', 'module_srl', 'uploaded_filename', 'file_size', 'member_srl', 'upload_target_srl'); + $columnList = array('file_srl', 'sid', 'isvalid', 'source_filename', 'module_srl', 'uploaded_filename', 'file_size', 'member_srl', 'upload_target_srl', 'upload_target_type'); $file_obj = $oFileModel->getFile($file_srl, $columnList); // If the requested file information is incorrect, an error that file cannot be found appears if($file_obj->file_srl!=$file_srl || $file_obj->sid!=$sid) return $this->stop('msg_file_not_found');