diff options
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index 3929fa4c1..a98aca711 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1409,7 +1409,8 @@ function import_directory_profile($hash,$profile) { if(in_arrayi('nsfw',$clean) || in_arrayi('adult',$clean)) { q("update xchan set xchan_flags = (xchan_flags | %d) where xchan_hash = '%s' limit 1", - intval(XCHAN_FLAGS_CENSORED) + intval(XCHAN_FLAGS_CENSORED), + dbesc($hash) ); } |