Commit a4a00766 authored by Mario's avatar Mario Committed by Mario

fix typo


(cherry picked from commit 2f224336)
parent f11670e4
......@@ -82,7 +82,7 @@ function find_diaspora_person_by_handle($handle) {
if($result) {
$r = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_addr = '%s' and hubloc_network like '%%diaspora%%' limit 1",
dbesc(str_replace('acct:'.'',$handle))
dbesc(str_replace('acct:','',$handle))
);
if(! $r) {
$r = q("select * from xchan left join hubloc on xchan_hash = hubloc_hash where hubloc_addr = '%s' limit 1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment