n-s-f-w use title in word search until somebody fixes the tag search

This commit is contained in:
friendica 2013-06-26 03:38:39 -07:00
parent 6d98a59413
commit 6782f22303
2 changed files with 1 additions and 1 deletions

BIN
nsfw.tgz

Binary file not shown.

View file

@ -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);