card type review

This commit is contained in:
Schneider Roland 2022-12-08 16:25:27 +01:00
parent 0d6b9af52c
commit 9e3efa5ed3

View File

@ -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;
}
}
}
}