mirror of
https://github.com/friendica/friendica
synced 2024-11-20 11:03:42 +00:00
Don't cherry-pick:
- reverted dbm::is_result() to count() Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
361a55155c
commit
4805aa8fdb
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue