User Status was hidden by an in accessible session variable use user_status permission. There permission is more consistent with the rest of the project.

This commit is contained in:
FusionPBX
2023-11-15 08:28:49 -07:00
committed by GitHub
parent aa3a412523
commit 5e0c27d592
2 changed files with 7 additions and 1 deletions

View File

@@ -861,7 +861,7 @@
echo " </td>\n";
echo " </tr>\n";
if (isset($_SESSION['user_status_display']) && $_SESSION['user_status_display'] != "false") {
if (permission_exists("user_status")) {
echo " <tr>\n";
echo " <td width='20%' class=\"vncell\" valign='top'>\n";
echo " ".$text['label-status']."\n";