diff --git a/NewPastePanel.php b/NewPastePanel.php
index 05ff2af..df79ce5 100644
--- a/NewPastePanel.php
+++ b/NewPastePanel.php
@@ -20,7 +20,7 @@
'.$row['text'].'');
+ echo '';
} else printf('');
?>
diff --git a/post.php b/post.php
index d7a93aa..42ca001 100644
--- a/post.php
+++ b/post.php
@@ -33,7 +33,7 @@ if(isset($_POST["type"])){
$title = "Untitled";
$text = $_POST["text"];
$exposure = 0;
- if(isset($_POST["title"]))
+ if(isset($_POST["title"]) && $_POST["title"]!="")
$title = $_POST["title"];
if(isset($_POST["exposure"]) && is_numeric($_POST["exposure"]))
$exposure = $_POST["exposure"];