diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 4771295..0f2c49d 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -50,7 +50,7 @@
 	 */
 	function set_template($template)
 	{
-		if ( ! is_array())
+		if ( ! is_array($template))
 		{
 			return FALSE;
 		}