aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-09 00:43:38 -0800
committerfriendica <info@friendica.com>2015-02-09 00:43:38 -0800
commitd473c3c500a39ce1efdf6902114f899644bcc002 (patch)
treeb8a8dac415f168c95b8f7c7e41a8c5356f92fb9b
parent92afed0f5c61c6f5fa1700f6acc9af7692cd6129 (diff)
downloadvolse-hubzilla-d473c3c500a39ce1efdf6902114f899644bcc002.tar.gz
volse-hubzilla-d473c3c500a39ce1efdf6902114f899644bcc002.tar.bz2
volse-hubzilla-d473c3c500a39ce1efdf6902114f899644bcc002.zip
fix for service_plink() after observing it in the wild
-rw-r--r--include/network.php2
-rw-r--r--version.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index 366ac0d24..a7127c1a2 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1531,7 +1531,7 @@ function service_plink($contact, $guid) {
$m = parse_url($contact['xchan_url']);
if($m) {
- $url = $scheme . '://' . $m['host'] . (($m['port']) ? ':' . $m['port'] : '');
+ $url = $m['scheme'] . '://' . $m['host'] . (($m['port']) ? ':' . $m['port'] : '');
}
else
$url = 'https://' . substr($contact['xchan_addr'],strpos($contact['xchan_addr'],'@')+1);
diff --git a/version.inc b/version.inc
index 62703f886..9325f86d6 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2015-02-08.939
+2015-02-09.940