aboutsummaryrefslogtreecommitdiffstats
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
parent82bd1420cc264a985c1f201826b6bface70dec12 (diff)
downloadvolse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.tar.gz
volse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.tar.bz2
volse-hubzilla-876a9d1850ec6fc2aa26f530e8ab554028158734.zip
missing hash
-rw-r--r--include/taxonomy.php2
-rw-r--r--include/zot.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index a3c3fc7b4..85396a51d 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -221,7 +221,7 @@ function dir_tagblock($link,$r) {
if($r) {
$o = '<div class="dirtagblock widget"><h3>' . t('Keywords') . '</h3><div class="tags" align="center">';
foreach($r as $rr) {
- $o .= '<a href="'.$link .'/' . '?f=&keywords=' . urlencode($rr['term']).'" class="tag'.$rr['normalise'].'">'.$rr['term'].'</a> ' . "\r\n";
+ $o .= '<a href="'.$link .'/' . '?f=&keywords=' . urlencode($rr['term']).'" class="tag'.$rr['normalise'].'" rel="nofollow" >'.$rr['term'].'</a> ' . "\r\n";
}
$o .= '</div></div>';
}
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)
);
}