diff --git a/libraries/mako/ArrayTo.php b/libraries/mako/ArrayTo.php
index <HASH>..<HASH> 100644
--- a/libraries/mako/ArrayTo.php
+++ b/libraries/mako/ArrayTo.php
@@ -51,7 +51,7 @@ class ArrayTo
 	{
 		$data = json_encode($data);
 
-		if(isset($_GET['jsoncallback']))
+		if(!empty($_GET['jsoncallback']))
 		{
 			$data = $_GET['jsoncallback'] . '(' . $data . ')';
 		}
Replaced isset with !empty