dbesc($recipient)
);
- if(! count($r)) {
+ if (! dbm::is_result($r)) {
logger('wallmessage: no recipient');
return;
}
dbesc($recipient)
);
- if(! count($r)) {
+ if (! dbm::is_result($r)) {
notice( t('No recipient.') . EOL);
logger('wallmessage: no recipient');
return;