Skip to content

Commit 2a47136

Browse files
committed
Merge pull request #25 from BNETDocs/bugfix-user-view
Fix bug with user view not showing biography
2 parents 72d1a41 + 14b204c commit 2a47136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/User/View.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if ($object) {
2222

2323
$safe_name = htmlspecialchars($object->getName(), ENT_HTML5, "UTF-8");
2424

25-
if ($this->getContext()->biography) $description = $biography;
25+
if ($this->getContext()->biography) $description = $this->getContext()->biography;
2626
$safe_biography = htmlspecialchars($this->getContext()->biography, ENT_HTML5, "UTF-8");
2727
}
2828

0 commit comments

Comments
 (0)