summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-05-22 11:34:14 +0200
committerFlorian Pritz <bluewind@xssn.at>2010-05-22 11:34:14 +0200
commit01ff424562320e8160c9da8df3eb1cc595ac82c6 (patch)
treec095f13eebaf2544f5a895149fea451a225049c1 /system
parenta647a9e422f73fbb2421e9f396a05230b731bddb (diff)
fix empty paste check
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'system')
-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;
}