Created
July 26, 2017 12:28
-
-
Save thyseus/94b8d22d45c5956fc37ef515d527722e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```php | |
if ($attribute) { | |
if($attribute->type != '') { | |
$super[Yii::t('app', $attribute->type)][] = Yii::t('app', $attribute->title); | |
} else { | |
$super[Yii::t('app', 'Allgemein')][] = Yii::t('app', $attribute->title); | |
} | |
} |
Author
thyseus
commented
Jul 26, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment