summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-04-14 23:35:16 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-04-14 23:35:16 +0200
commit646f90ace3c962947738afc5240700d5630a7800 (patch)
treeece117b80449aa448a86bb4fa623276350b50a90 /application/controllers/file.php
parent8df64d85859653e5fb26a78f0cdd23d47e6cbd3f (diff)
claim_id: Fix wrong variable name
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-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.");
}