mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
Merge branch 'mexon-mat/mergerequest' into develop
This commit is contained in:
commit
4d17b2e9e8
1 changed files with 2 additions and 2 deletions
|
@ -176,7 +176,7 @@ function onepoll_run(&$argv, &$argc){
|
|||
return;
|
||||
}
|
||||
|
||||
if(! strstr($handshake_xml,'<?xml')) {
|
||||
if(! strstr($handshake_xml,'<')) {
|
||||
logger('poller: response from ' . $url . ' did not contain XML.');
|
||||
|
||||
mark_for_death($contact);
|
||||
|
@ -537,7 +537,7 @@ function onepoll_run(&$argv, &$argc){
|
|||
|
||||
if($xml) {
|
||||
logger('poller: received xml : ' . $xml, LOGGER_DATA);
|
||||
if((! strstr($xml,'<?xml')) && (! strstr($xml,'<rss'))) {
|
||||
if(! strstr($xml,'<')) {
|
||||
logger('poller: post_handshake: response from ' . $url . ' did not contain XML.');
|
||||
$r = q("UPDATE `contact` SET `last-update` = '%s' WHERE `id` = %d",
|
||||
dbesc(datetime_convert()),
|
||||
|
|
Loading…
Reference in a new issue