Fix parse error in Protocol\PortableContact (#5515)

This commit is contained in:
Hypolite Petovan 2018-07-28 08:52:57 -04:00 committed by GitHub
parent c30ac30f29
commit 0902ea508d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1544,7 +1544,7 @@ class PortableContact
} }
foreach ($serverlist as $server) { foreach ($serverlist as $server) {
$server_url = str_replace("/index.php", "", $server['url']; $server_url = str_replace("/index.php", "", $server['url']);
$r = q("SELECT `nurl` FROM `gserver` WHERE `nurl` = '%s'", DBA::escape(normalise_link($server_url))); $r = q("SELECT `nurl` FROM `gserver` WHERE `nurl` = '%s'", DBA::escape(normalise_link($server_url)));