Код: Выделить всё
'systemComments' => array(self::HAS_MANY, 'SystemComment', array('publication_id' => 'id', 'publication_type' => 'type')),
'moderatorsCommentsCount' => array(self::STAT, 'SystemComment', array('publication_id' => 'id', 'publication_type' => 'type')),
Код: Выделить всё
preg_match() expects parameter 2 to be string, array given