aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorChris Case <kahotep@bunda.dreamhost.com>2011-05-22 19:20:12 -0700
committerChris Case <kahotep@bunda.dreamhost.com>2011-05-22 19:20:12 -0700
commit150830d38c2191d2e55a373043af176208d4b430 (patch)
tree44cad869fb3a152e40b1111a35ac0c7774e3e703 /boot.php
parent991885f1d40b8a8f16cd17c028f5c93eba69a5f3 (diff)
parent44a22c29155fa3beeed7cd5d0add30818e409891 (diff)
downloadvolse-hubzilla-150830d38c2191d2e55a373043af176208d4b430.tar.gz
volse-hubzilla-150830d38c2191d2e55a373043af176208d4b430.tar.bz2
volse-hubzilla-150830d38c2191d2e55a373043af176208d4b430.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 0704c2305..1a6bf622c 100644
--- a/boot.php
+++ b/boot.php
@@ -4,7 +4,7 @@ set_time_limit(0);
ini_set('pcre.backtrack_limit', 250000);
-define ( 'FRIENDIKA_VERSION', '2.2.987' );
+define ( 'FRIENDIKA_VERSION', '2.2.988' );
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
define ( 'DB_UPDATE_VERSION', 1054 );
@@ -1508,6 +1508,8 @@ function lrdd($uri) {
logger('lrdd: host_meta: ' . $xml, LOGGER_DATA);
$h = parse_xml_string($xml);
+ if(! $h)
+ return array();
$arr = convert_xml_element_to_array($h);
@@ -1672,6 +1674,9 @@ function fetch_xrd_links($url) {
logger('fetch_xrd_links: ' . $xml, LOGGER_DATA);
$h = parse_xml_string($xml);
+ if(! $h)
+ return array();
+
$arr = convert_xml_element_to_array($h);
$links = array();