summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 7d165c02e..0fd41404e 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -312,7 +312,7 @@ class File extends CI_Controller {
$filedata = $this->file_mod->get_filedata($id);
- if ($filedata["owner"] != 0) {
+ if ($filedata["user"] != 0) {
show_error("Someone already owns '$id', can't reassign.");
}