summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Unit.php')
-rw-r--r--system/libraries/Unit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Unit.php b/system/libraries/Unit.php
index 6573f4269..439424fbb 100644
--- a/system/libraries/Unit.php
+++ b/system/libraries/Unit.php
@@ -55,7 +55,7 @@ class CI_Unit {
function run($test, $expected = TRUE, $test_name = 'undefined')
{
if ($this->active == FALSE)
- return;
+ return FALSE;
if (in_array($expected, array('is_string', 'is_bool', 'is_true', 'is_false', 'is_int', 'is_numeric', 'is_float', 'is_double', 'is_array', 'is_null'), TRUE))
{