Skip to content

Commit 14b204c

Browse files
committed
Fix bug with user view not showing biography
1 parent 72d1a41 commit 14b204c

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)