mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-30 21:45:01 +03:00
fix выбора блогов при публикации топика
This commit is contained in:
parent
2848db7177
commit
0437b9a8f2
|
@ -154,7 +154,7 @@ class ModuleTopic_EntityTopic extends Entity
|
||||||
*/
|
*/
|
||||||
public function ValidateBlogs($sValue, $aParams)
|
public function ValidateBlogs($sValue, $aParams)
|
||||||
{
|
{
|
||||||
if (is_string($sValue)) {
|
if ($sValue and is_string($sValue)) {
|
||||||
$sValue = explode(',', $sValue);
|
$sValue = explode(',', $sValue);
|
||||||
}
|
}
|
||||||
if (!$sValue or !is_array($sValue)) {
|
if (!$sValue or !is_array($sValue)) {
|
||||||
|
|
Loading…
Reference in a new issue