Fixed typo.
This commit is contained in:
parent
19fb0ffc30
commit
7057ca7855
2 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@ switch ($mode) {
|
|||
|
||||
tpl_vars([
|
||||
'profile_warnings' => $warnings,
|
||||
'prpfile_warnings_view_private' => $viewingOwnProfile,
|
||||
'profile_warnings_view_private' => $viewingOwnProfile,
|
||||
'profile_warnings_can_manage' => $canManageWarnings,
|
||||
'profile_fields' => user_session_active() ? user_profile_fields_display($profile, !$isEditing) : [],
|
||||
]);
|
||||
|
|
|
@ -250,7 +250,7 @@
|
|||
</div>
|
||||
|
||||
{% for warning in profile_warnings %}
|
||||
{{ user_profile_warning(warning, prpfile_warnings_view_private, profile_warnings_can_manage, profile_warnings_can_manage ? csrf_token('warning-delete[%d]'|format(warning.warning_id)) : '') }}
|
||||
{{ user_profile_warning(warning, profile_warnings_view_private, profile_warnings_can_manage, profile_warnings_can_manage ? csrf_token('warning-delete[%d]'|format(warning.warning_id)) : '') }}
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue