summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Table.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Table.php b/system/libraries/Table.php
index 4771295a5..0f2c49d96 100644
--- a/system/libraries/Table.php
+++ b/system/libraries/Table.php
@@ -50,7 +50,7 @@ class CI_Table {
*/
function set_template($template)
{
- if ( ! is_array())
+ if ( ! is_array($template))
{
return FALSE;
}