web/event_process.php
changeset 1000 c294569b0725
parent 988 954019f62866
child 1004 1eff91564807
--- a/web/event_process.php	Mon Nov 25 19:18:23 2013 +0100
+++ b/web/event_process.php	Mon Nov 25 22:28:08 2013 +0100
@@ -133,8 +133,12 @@
 	}
 	else {
 		
+		$config_values = array_merge($_POST);
 		
-		$config_values = array_merge($_POST);
+		if(!isset($config_values['title']) || empty($config_values['title'])) {
+			print "<div class=\"error-message\"><h2>".$translate->_("Event_error_empty_title")."</h2></div>";
+			exit;
+		}
 		
 		foreach ($_FILES as $key => $value) {
 			$config_values[$key] = "images/".basename($value['name']);