mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 18:50:15 +00:00
n-s-f-w use title in word search until somebody fixes the tag search
This commit is contained in:
parent
6d98a59413
commit
6782f22303
2 changed files with 1 additions and 1 deletions
BIN
nsfw.tgz
BIN
nsfw.tgz
Binary file not shown.
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue