Skip to content

Commit

Permalink
Rename who_error_params to error_params
Browse files Browse the repository at this point in the history
  • Loading branch information
SychO9 authored and MissAllSunday committed Jul 25, 2020
1 parent 60c0715 commit e359283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Who.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function determineActions($urls, $preferred_prefix = false)
loadLanguage('Errors');

if (isset($txt[$actions['error']]))
$error_message = str_replace('"', '"', empty($actions['who_error_params']) ? $txt[$actions['error']] : vsprintf($txt[$actions['error']], $actions['who_error_params']));
$error_message = str_replace('"', '"', empty($actions['error_params']) ? $txt[$actions['error']] : vsprintf($txt[$actions['error']], $actions['error_params']));
elseif ($actions['error'] == 'guest_login')
$error_message = str_replace('"', '"', $txt['who_guest_login']);
else
Expand Down

0 comments on commit e359283

Please sign in to comment.