Update Fenom.php

Блин, мужик, ну исправь это уже))
This commit is contained in:
litvinenkow 2013-08-06 23:21:03 -07:00
parent fa0546e09d
commit 5e6ee659e6

View File

@ -848,7 +848,7 @@ class Fenom
{ {
foreach ($values as $key => $value) { foreach ($values as $key => $value) {
if (isset($options[$key])) { if (isset($options[$key])) {
if ($options[$key]) { if ($value) {
$mask |= $options[$key]; $mask |= $options[$key];
} else { } else {
$mask &= ~$options[$key]; $mask &= ~$options[$key];