Commit 559461c3 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixed problem with '?:' - implemented in 2016.

parent 9791d0df
Pipeline #1164 passed with stage
in 1 minute and 43 seconds
......@@ -147,8 +147,8 @@ class Variables {
}
if (isset($GLOBALS["TSFE"]->fe_user)) {
$arr["fe_user_uid"] = $GLOBALS["TSFE"]->fe_user->user["uid"] ?: '-';
$arr["fe_user"] = $GLOBALS["TSFE"]->fe_user->user["username"] ?: '-';
$arr["fe_user_uid"] = $GLOBALS["TSFE"]->fe_user->user["uid"] ?? '-';
$arr["fe_user"] = $GLOBALS["TSFE"]->fe_user->user["username"] ?? '-';
} else {
$arr["fe_user_uid"] = '-';
$arr["fe_user"] = '-';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment