$i[0]['mid']]); // $n['obj_type'] = ((array_path_exists('obj/type', $n)) ? $n['obj']['type'] : EMPTY_STR); $n['term'][] = [ 'uid' => $channel['channel_id'], 'ttype' => TERM_EMOJI, 'otype' => TERM_OBJ_POST, 'term' => $emoji['shortname'], 'url' => z_root() . '/emoji/' . $shortname, 'imgurl' => z_root() . '/' . $emoji['filepath'] ]; $x = item_store($n); retain_item($postid); if ($x['success']) { $nid = $x['item_id']; Master::Summon(['Notifier', 'like', $nid]); } } }