Question about Cometchat and PHP7
Using Jamroom
JR5 to JR6 will not effect comet chat at all. php5 to php7 may have though.

( I'm going to claim that I left that code mistake in there on purpose
)profile_bio
something avacardo and something %avacardo%
function view_jrAction_share_msg($_post, $_user, $_conf)
{
jrUser_session_require_login();
jrUser_check_quota_access('jrAction');
if (!isset($_post['_1']) || !jrCore_module_is_active($_post['_1'])) {
return 'error: invalid module';
}
if (!isset($_post['_2']) || !jrCore_checktype($_post['_2'], 'number_nz')) {
return 'error: invalid item_id';
}
$_temp = $_post;
$_temp['module'] = $_post['_1'];
$_temp['item_id'] = (int) $_post['_2'];
// Does this module have a custom template?
$_temp['template'] = false;
if (is_file(APP_DIR . "/modules/{$_post['_1']}/templates/item_share.tpl")) {
$_temp['template'] = 'item_share.tpl';
}
return jrCore_parse_template('item_share_modal.tpl', $_temp, 'jrAction');
}
if (is_file(APP_DIR . "/modules/{$_post['_1']}/templates/item_share.tpl")) {
$_temp['template'] = 'item_share.tpl';
}