dbesc($replyto),
dbesc($replyto)
);
- if(count($r))
+ if (dbm::is_result($r))
$convid = $r[0]['convid'];
}
dbesc($conv_guid),
intval(local_user())
);
- if(count($r))
+ if (dbm::is_result($r))
$convid = $r[0]['id'];
}
dbesc($uri),
intval(local_user())
);
- if(count($r))
+ if (dbm::is_result($r))
$post_id = $r[0]['id'];
/**
}
if($post_id) {
- proc_run('php',"include/notifier.php","mail","$post_id");
+ proc_run(PRIORITY_HIGH, "include/notifier.php", "mail", $post_id);
return intval($post_id);
} else {
return -3;
dbesc($conv_guid),
intval($recipient['uid'])
);
- if(count($r))
+ if (dbm::is_result($r))
$convid = $r[0]['id'];
if(! $convid) {