From 5e6ee659e652403eb98574daa83334c6fe362e51 Mon Sep 17 00:00:00 2001 From: litvinenkow Date: Tue, 6 Aug 2013 23:21:03 -0700 Subject: [PATCH] Update Fenom.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Блин, мужик, ну исправь это уже)) --- src/Fenom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fenom.php b/src/Fenom.php index 00f74ae..dd02de9 100644 --- a/src/Fenom.php +++ b/src/Fenom.php @@ -848,7 +848,7 @@ class Fenom { foreach ($values as $key => $value) { if (isset($options[$key])) { - if ($options[$key]) { + if ($value) { $mask |= $options[$key]; } else { $mask &= ~$options[$key];