summaryrefslogtreecommitdiffstats
path: root/system/application/controllers/file.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/application/controllers/file.php')
-rw-r--r--system/application/controllers/file.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/application/controllers/file.php b/system/application/controllers/file.php
index 248799c8a..09dcace68 100644
--- a/system/application/controllers/file.php
+++ b/system/application/controllers/file.php
@@ -57,7 +57,7 @@ class File extends Controller {
$data = array();
$content = $this->input->post('content')."\n";
$extension = $this->input->post('extension');
- if($content === false) {
+ if($content === "\n") {
$this->upload_form();
return;
}