]> git.mxchange.org Git - friendica-addons.git/commitdiff
n-s-f-w use title in word search until somebody fixes the tag search
authorfriendica <info@friendica.com>
Wed, 26 Jun 2013 10:38:39 +0000 (03:38 -0700)
committerfriendica <info@friendica.com>
Wed, 26 Jun 2013 10:38:39 +0000 (03:38 -0700)
nsfw.tgz
nsfw/nsfw.php

index c402fb99c97b9a5c7338463a1a743a1d67d1a984..cb3ed99fe94cd23a0d442dbd29b4dd305cae387e 100755 (executable)
Binary files a/nsfw.tgz and b/nsfw.tgz differ
index 96e1a9bf8fcc312b396968e3cc106bb857abc720..57511f0055730c28cf1585743fb4440483bfa3a1 100755 (executable)
@@ -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);