From 8807d856ccf896fb4ea7e37fe6dfab20e71ee47c Mon Sep 17 00:00:00 2001 From: jibotero Date: Wed, 26 Mar 2014 23:17:57 -0500 Subject: [PATCH] Fix #6 --- validFluent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validFluent.php b/validFluent.php index 69292d4..a363874 100644 --- a/validFluent.php +++ b/validFluent.php @@ -376,7 +376,7 @@ function equal($value2, $errorMsg=NULL) */ function oneOf($items, $errorMsg=NULL) { - if ($this->isValid && (!empty($this->currentObj->value))) + if ($this->isValid && (isset($this->currentObj->value))) { $item = explode(':', strtolower($items));