mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:15:11 +00:00
Merge branch 'patch-20181103a' into 'dev'
Fix selfcensored query See merge request macgirvin/osada!6
This commit is contained in:
commit
265f5adaaf
1 changed files with 1 additions and 1 deletions
|
@ -1441,7 +1441,7 @@ class Libzot {
|
|||
$local_public = true;
|
||||
|
||||
$r = q("select xchan_selfcensored from xchan where xchan_hash = '%s' limit 1",
|
||||
dbesc($sender['hash'])
|
||||
dbesc($sender)
|
||||
);
|
||||
// don't import sys channel posts from selfcensored authors
|
||||
if($r && (intval($r[0]['xchan_selfcensored']))) {
|
||||
|
|
Loading…
Reference in a new issue