Fixed typo.

This commit is contained in:
flash 2019-02-27 17:29:38 +01:00
parent 19fb0ffc30
commit 7057ca7855
2 changed files with 2 additions and 2 deletions

View file

@ -334,7 +334,7 @@ switch ($mode) {
tpl_vars([ tpl_vars([
'profile_warnings' => $warnings, 'profile_warnings' => $warnings,
'prpfile_warnings_view_private' => $viewingOwnProfile, 'profile_warnings_view_private' => $viewingOwnProfile,
'profile_warnings_can_manage' => $canManageWarnings, 'profile_warnings_can_manage' => $canManageWarnings,
'profile_fields' => user_session_active() ? user_profile_fields_display($profile, !$isEditing) : [], 'profile_fields' => user_session_active() ? user_profile_fields_display($profile, !$isEditing) : [],
]); ]);

View file

@ -250,7 +250,7 @@
</div> </div>
{% for warning in profile_warnings %} {% 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 %} {% endfor %}
</div> </div>
{% endif %} {% endif %}