From: friendica Date: Wed, 26 Jun 2013 10:38:39 +0000 (-0700) Subject: n-s-f-w use title in word search until somebody fixes the tag search X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6782f223032caa4b6d8b0143a42bde1a7ae0cd11;p=friendica-addons.git n-s-f-w use title in word search until somebody fixes the tag search --- diff --git a/nsfw.tgz b/nsfw.tgz index c402fb99..cb3ed99f 100755 Binary files a/nsfw.tgz and b/nsfw.tgz differ diff --git a/nsfw/nsfw.php b/nsfw/nsfw.php index 96e1a9bf..57511f00 100755 --- a/nsfw/nsfw.php +++ b/nsfw/nsfw.php @@ -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);