Skip to content

Loading…

Undefined variable email in KunenaViewUser in mirage template #768

Merged
merged 1 commit into from

2 participants

@xillibit
Kunena member

No description provided.

@mahagr mahagr merged commit f9c51ed into Kunena:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 1 addition and 1 deletion.
  1. +1 −1 components/com_kunena/template/mirage/html/user/default_summary.php
View
2 components/com_kunena/template/mirage/html/user/default_summary.php
@@ -88,7 +88,7 @@
<div id="kprofile-rightcolbot">
<div class="kprofile-rightcol2">
<ul>
- <?php if ( $this->email ) : ?><li><span class="kicon-profile kicon-profile-email"></span><?php echo $this->email ?></li><?php endif; ?>
+ <?php if ( !empty($this->profile->email) ) : ?><li><span class="kicon-profile kicon-profile-email"></span><?php echo $this->profile->email ?></li><?php endif; ?>
<?php if (!empty($this->profile->websiteurl)):?><li><span class="kicon-profile kicon-profile-website"></span><a href="http://<?php echo $this->escape($this->profile->websiteurl) ?>" target="_blank"><?php echo KunenaHtmlParser::parseText($this->profile->websitename) ?></a></li><?php endif ?>
<li>&nbsp;</li>
</ul>
Something went wrong with that request. Please try again.