aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-19 21:13:45 -0700
committerfriendica <info@friendica.com>2013-09-19 21:13:45 -0700
commit876a9d1850ec6fc2aa26f530e8ab554028158734 (patch)
tree3af262fda254f768eb378541da74dc4cf1852243 /include/zot.php
parent82bd1420cc264a985c1f201826b6bface70dec12 (diff)
downloadvolse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.tar.gz
volse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.tar.bz2
volse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.zip
missing hash
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php3
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)
);
}