summaryrefslogtreecommitdiffstats
path: root/system/libraries/Unit.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-10-08 09:21:12 +0200
committeradmin <devnull@localhost>2006-10-08 09:21:12 +0200
commit10c3f41cbe5bd3bb66fd106cc9fb171ffcc7364b (patch)
tree7477d21d33dd07221425685756561c3bbd386217 /system/libraries/Unit.php
parent86d4e993d9ea21f28124b80f3d0c161aea681cb6 (diff)
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))
{