missing hash
This commit is contained in:
parent
82bd1420cc
commit
876a9d1850
@ -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>';
|
||||
}
|
||||
|
@ -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)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user