Fix erorrs for missing data
This commit is contained in:
@@ -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-->
|
||||
|
||||
Reference in New Issue
Block a user