card type review
This commit is contained in:
@@ -44,7 +44,9 @@ class ActivatedFilter extends ActionFilter
|
||||
$card = Card::findOne($idCard);
|
||||
if (isset($card)) {
|
||||
if (isset($card->type)) {
|
||||
$activated = true;
|
||||
if ( Card::TYPE_REVIEW === $card->type){
|
||||
$activated = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user