1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

fix выбора блогов при публикации топика

This commit is contained in:
Mzhelskiy Maxim 2015-02-26 21:23:31 +07:00
parent 2848db7177
commit 0437b9a8f2

View file

@ -154,7 +154,7 @@ class ModuleTopic_EntityTopic extends Entity
*/
public function ValidateBlogs($sValue, $aParams)
{
if (is_string($sValue)) {
if ($sValue and is_string($sValue)) {
$sValue = explode(',', $sValue);
}
if (!$sValue or !is_array($sValue)) {