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

pull/140/head
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;
if(count($arr)) {
$body = nsfw_extract_photos($b['html']);
$body = $b['title'] . ' ' . nsfw_extract_photos($b['html']);
foreach($arr as $word) {
$word = trim($word);