Browse Source

Don't cherry-pick:

- reverted dbm::is_result() to count()

Signed-off-by: Roland Häder <roland@mxchange.org>
pull/3036/head
Roland Häder 4 years ago
parent
commit
4805aa8fdb
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mod/dfrn_confirm.php

+ 2
- 2
mod/dfrn_confirm.php View File

@ -584,7 +584,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
dbesc($decrypted_source_url),
intval($local_uid)
);
if(! dbm::is_result($ret)) {
if(! count($ret)) {
if(strstr($decrypted_source_url,'http:'))
$newurl = str_replace('http:','https:',$decrypted_source_url);
else
@ -594,7 +594,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
dbesc($newurl),
intval($local_uid)
);
if(! dbm::is_result($ret)) {
if(! count($ret)) {
// this is either a bogus confirmation (?) or we deleted the original introduction.
$message = t('Contact record was not found for you on our site.');
xml_status(3,$message);


Loading…
Cancel
Save