mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-16 14:50:48 +03:00
fix topic extra
This commit is contained in:
parent
04e0083b71
commit
6744bc11b3
|
@ -909,6 +909,9 @@ class ModuleTopic_EntityTopic extends Entity
|
|||
if (is_null($this->aExtra)) {
|
||||
$this->aExtra = @unserialize($this->getExtra());
|
||||
}
|
||||
if (!is_array($this->aExtra)) {
|
||||
$this->aExtra = array();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue