Fixed Container::check() blacklist

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-23 18:21:37 +02:00
parent 13aa73d26e
commit fea6e9c432
3 changed files with 4 additions and 6 deletions

View file

@ -53,9 +53,9 @@ class Container{
$w = true;
}
if($this->blacklist !== false){
$b = true;
$b = false;
if(in_array($target, $this->blacklist, true)){
$b = false;
$b = true;
}
}else{
$b = false;