Fix erorrs for missing data

This commit is contained in:
2022-04-10 01:40:02 -04:00
parent 5f5abd0b3e
commit 6596089608
2 changed files with 12 additions and 4 deletions
@@ -60,8 +60,8 @@ $server_name = 'https://'. $_SERVER['HTTP_HOST'];
<!--begin::User-->
<div class="aside-user d-flex align-items-sm-center justify-content-center py-5">
<!--begin::Symbol-->
<div class="symbol symbol-50px">
<img src="<? echo $_SESSION['profile_picture']; ?>" alt="" />
<div class="symbol symbol-50px"><?php if (array_key_exists('profile_picture', $_SESSION)) { ?>
<img src="<? echo $_SESSION['profile_picture']; ?>" alt="" /><?php } ?>
</div>
<!--end::Symbol-->
<!--begin::Wrapper-->