Use constants for the BBCode modes

This commit is contained in:
Michael 2020-05-16 16:28:15 +00:00
parent 7b8178e046
commit 0cf517ad76
9 changed files with 48 additions and 52 deletions

View file

@ -83,7 +83,7 @@ class Show extends BaseApi
foreach ($profileFields as $profileField) {
$custom_fields[] = [
'label' => $profileField->label,
'value' => BBCode::convert($profileField->value, false, 2),
'value' => BBCode::convert($profileField->value, false, BBCode::API),
];
}