mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
sort out the rest of the nasty stuff in the attachment/file api - time to move on to something else
This commit is contained in:
@@ -10,7 +10,8 @@ function magic_init(&$a) {
|
||||
|
||||
if($hash) {
|
||||
$x = q("select xchan.xchan_url, hubloc.* from xchan left join hubloc on xchan_hash = hubloc_hash
|
||||
where hublock_hash = '%s' and (hubloc_flags & %d) limit 1",
|
||||
where hubloc_hash = '%s' and (hubloc_flags & %d) limit 1",
|
||||
dbesc($hash),
|
||||
intval(HUBLOC_FLAGS_PRIMARY)
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user