1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-07-24 21:08:05 +02:00

Fix: Use null coalescing operator on user_id

This commit is contained in:
billz 2025-03-20 02:09:39 -07:00
parent 6adeab7586
commit 4e411aaa6b

View File

@ -13,7 +13,7 @@
<!-- Auth user -->
<li class="nav-item mt-1">
<a class="nav-link" href="auth_conf">
<span class="mr-2 small nav-user"><?php echo htmlspecialchars($_SESSION['user_id'], ENT_QUOTES); ?></span>
<span class="mr-2 small nav-user"><?php echo htmlspecialchars($_SESSION['user_id'] ?? '', ENT_QUOTES); ?></span>
<i class="fas fa-user-circle text-muted mt-2 fa-3x"></i>
</a>
</li>