Fixed title[]= too. 1.1.8 current-unstable
authorDan Fuhry <dan@enanocms.org>
Tue, 16 Nov 2010 13:23:34 -0500
changeset 1322 8496dd47b87c
parent 1321 db77b3bbcb93
child 1323 8aa4b24faabf
Fixed title[]= too.
includes/functions.php
--- a/includes/functions.php	Tue Nov 16 12:55:06 2010 -0500
+++ b/includes/functions.php	Tue Nov 16 13:23:34 2010 -0500
@@ -263,7 +263,7 @@
 function get_title($sanitize = true, $chop_special = false)
 {
 	$title = '';
-	if ( isset($_GET['title']) )
+	if ( isset($_GET['title']) && is_string($_GET['title']) )
 	{
 		$title = $_GET['title'];
 	}