diff --git a/src/models/ContactTemplate.php b/src/models/ContactTemplate.php index f20ff01..c8ed4a7 100644 --- a/src/models/ContactTemplate.php +++ b/src/models/ContactTemplate.php @@ -12,7 +12,9 @@ */ class ContactTemplate extends BaseContactTemplate { - use ActiveRecordAccessTrait; + use ActiveRecordAccessTrait { + find as traitFind; +} /** * @inheritdoc @@ -66,4 +68,10 @@ public function rules() ]; return $rules; } + + public static function find() + { + self::$enableRecursiveRoles = true; + return self::traitFind(); + } }