Skip to content
Snippets Groups Projects
Commit fbe6c586 authored by hahn's avatar hahn
Browse files

FIX: php 8 compatibility

parent a184315e
Branches
No related tags found
1 merge request!9Rollout plugins - converter
......@@ -201,7 +201,8 @@ class user {
*/
public function showDenied(){
return '<div class="alert alert-danger" role="alert">'
. ($this->_sUsername ? ' User: '.$this->_sUsername : ''
. ($this->_sUsername ? ' User: '.$this->_sUsername : '')
. ($this->_sUsername
? t("class-user-error-deny-no-role").'<br>('.$this->_sLastCheckedPermission.')'
: t("class-user-error-login-required")
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment