1
1
Fork 0

better handling of troublesome feeds.

This commit is contained in:
Friendika 2011-04-04 19:36:18 -07:00
commit 793967a1d3
7 changed files with 62 additions and 27 deletions

View file

@ -240,7 +240,7 @@ function dfrn_confirm_post(&$a,$handsfree = null) {
notice( t('Unexpected response from remote site: ') . EOL . $leading_junk . EOL );
}
$xml = simplexml_load_string($res);
$xml = parse_xml_string($res);
$status = (int) $xml->status;
$message = unxmlify($xml->message); // human readable text of what may have gone wrong.
switch($status) {