summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/header.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php
index e984006..667357d 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -131,7 +131,8 @@
<button class="drawer-button" onclick="toggleDrawer();$('.options').addClass('ready');"><i class="iconfont icon-list"></i></button>
<div class="drawer-header">
<div class="drawer-avatar">
- <?php echo $this->author->gravatar(500); ?>
+ <?php if($this->options->avatar==''): echo $this->author->gravatar(500);
+ else: ?><img src="<?php $this->options->avatar(); ?>"><?php endif; ?>
</div>
</div>
<div class="drawer-content">