mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 08:43:40 +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;
|
$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