Update zid.php

This commit is contained in:
Max Kostikov 2019-06-19 09:39:56 +02:00
parent 983d6d3b42
commit 75746d714a

View File

@ -13,7 +13,7 @@ function is_matrix_url($url) {
if(array_key_exists($m['host'],$remembered)) if(array_key_exists($m['host'],$remembered))
return $remembered[$m['host']]; return $remembered[$m['host']];
$r = q("select hubloc_url from hubloc where hubloc_host = '%s' and hubloc_network LIKE 'zot%' limit 1", $r = q("select hubloc_url from hubloc where hubloc_host = '%s' and hubloc_network in ('zot', 'zot6') limit 1",
dbesc($m['host']) dbesc($m['host'])
); );
if($r) { if($r) {