cvs: phpweb /include manual-lookup.inc

From: Date: Thu, 09 Apr 2009 17:23:16 +0000
Subject: cvs: phpweb /include manual-lookup.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-4365@lists.php.net to get a copy of this message
philip Thu Apr 9 17:23:16 2009 UTC Modified files: /phpweb/include manual-lookup.inc Log: Allow found keywords with higher prio to work http://cvs.php.net/viewvc.cgi/phpweb/include/manual-lookup.inc?r1=1.35&r2=1.36&diff_format=u Index: phpweb/include/manual-lookup.inc diff -u phpweb/include/manual-lookup.inc:1.35 phpweb/include/manual-lookup.inc:1.36 --- phpweb/include/manual-lookup.inc:1.35 Fri Apr 25 06:50:29 2008 +++ phpweb/include/manual-lookup.inc Thu Apr 9 17:23:16 2009 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: manual-lookup.inc,v 1.35 2008/04/25 06:50:29 bjori Exp $ +// $Id: manual-lookup.inc,v 1.36 2009/04/09 17:23:16 philip Exp $ // We need this for error reporting include_once $_SERVER['DOCUMENT_ROOT'] . '/include/errors.inc'; @@ -156,7 +156,7 @@ if ($q) { $r = sqlite_fetch_array($q, SQLITE_NUM); if (isset($r[0])) { - if(isset($r[1]) && $r[1] > 10 && strlen($keyword) < 4) { + if(isset($r[1]) && $r[1] > 30 && strlen($keyword) < 4) { // "Match" found, but the keyword is so short // its probably bogus. Skip it continue;

« previous php.webmaster (#4365) next »