- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 - 38
 - 39
 
                        $entryCommentList = $db->getCommentList(array('blog_entry_id' => $id, 'uid' => !empty($user->id) ? $user->id : 0));
                                array_walk(
                                        $entryCommentList,
                                        create_function('&$c,$k,$d', '$c["author_image_url"] = !empty($d[$c["author_id"]]) ? $d[$c["author_id"]] : null;'),
                                        $db->getPersonImage(
                                                array_unique(
                                                        array_map(
                                                                create_function('$c', 'return (int) $c["author_id"];'),
                                                                array_filter(
                                                                        $entryCommentList,
                                                                        create_function('$c', 'return (int) $c["person_type_id"] == 1 && $c["is_hero"] != 1;')
                                                                )
                                                        )
                                                ),
                                                2 /*14*/
                                        ) + $db->getPersonImage(
                                                array_unique(
                                                        array_map(
                                                                create_function('$c', 'return (int) $c["author_id"];'),
                                                                array_filter(
                                                                        $entryCommentList,
                                                                        create_function('$c', 'return (int) $c["person_type_id"] == 4 && $c["is_hero"] != 1;')
                                                                )
                                                        )
                                                ),
                                                14
                                        ) + $db->getPersonImage(
                                                array_unique(
                                                        array_map(
                                                                create_function('$c', 'return (int) $c["author_id"];'),
                                                                array_filter(
                                                                        $entryCommentList,
                                                                        create_function('$c', 'return (int) $c["is_hero"] == 1;')
                                                                )
                                                        )
                                                ),
                                                70
                                        )
                                );
                                     
        
            Необходимо было поправить код вывода каментов. Он весь состоит из таких вот вещей, арэй волков, криэйт фанкшенов и прочей жести. Можно конечно понять что здесь происходит, но ваще проще переписать