Skip to content

Commit

Permalink
Translates custom field names on buddy list
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Stovell <[email protected]>
  • Loading branch information
Sesquipedalian committed Apr 4, 2022
1 parent ec89348 commit 2c1e0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Profile-Modify.php
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ function editBuddies($memID)
while ($row = $smcFunc['db_fetch_assoc']($request))
if (!isset($disabled_fields[$row['col_name']]))
$context['custom_pf'][$row['col_name']] = array(
'label' => $row['field_name'],
'label' => tokenTxtReplace($row['field_name']),
'type' => $row['field_type'],
'bbc' => !empty($row['bbc']),
'enclose' => $row['enclose'],
Expand Down

0 comments on commit 2c1e0fa

Please sign in to comment.