mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Groups: Fix exception on groups with empty description
This commit is contained in:
parent
0818e507a8
commit
f8c0071227
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ class Club extends RowModel
|
|||
{
|
||||
if(!is_null($this->getDescription()))
|
||||
return nl2br(htmlspecialchars($this->getDescription(), ENT_DISALLOWED | ENT_XHTML));
|
||||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
function getShortCode(): ?string
|
||||
|
|
Loading…
Reference in a new issue