forked from friendica/friendica-addons
n-s-f-w use title in word search until somebody fixes the tag search
This commit is contained in:
parent
6d98a59413
commit
6782f22303
|
@ -126,7 +126,7 @@ function nsfw_prepare_body(&$a,&$b) {
|
||||||
$found = false;
|
$found = false;
|
||||||
if(count($arr)) {
|
if(count($arr)) {
|
||||||
|
|
||||||
$body = nsfw_extract_photos($b['html']);
|
$body = $b['title'] . ' ' . nsfw_extract_photos($b['html']);
|
||||||
|
|
||||||
foreach($arr as $word) {
|
foreach($arr as $word) {
|
||||||
$word = trim($word);
|
$word = trim($word);
|
||||||
|
|
Loading…
Reference in a new issue