From 01ff424562320e8160c9da8df3eb1cc595ac82c6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 22 May 2010 11:34:14 +0200 Subject: fix empty paste check Signed-off-by: Florian Pritz --- system/application/controllers/file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/application/controllers') 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; } -- cgit v1.2.3-24-g4f1b