Skip to content

Commit

Permalink
Fix Call to undefined function get_current_user() error on Status pag…
Browse files Browse the repository at this point in the history
…e - closes #4067
  • Loading branch information
freescout-help-desk committed Jun 11, 2024
1 parent 5c01c37 commit aaacc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/system/status.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
</table>

<h3 id="permissions">{{ __('Permissions') }}</h3>
{!! __('These folders must be writable by web server user (:user).', ['user' => '<strong>'.get_current_user().'</strong>']) !!} {{ __('Recommended permissions') }}: <strong>775</strong>
{!! __('These folders must be writable by web server user (:user).', ['user' => '<strong>'.(function_exists('get_current_user') ? get_current_user() : '').'</strong>']) !!} {{ __('Recommended permissions') }}: <strong>775</strong>
<table class="table table-dark-header table-bordered table-responsive table-narrow">
<tbody>
@foreach ($permissions as $perm_path => $perm)
Expand Down

0 comments on commit aaacc6d

Please sign in to comment.