svn: /web/php/trunk/include/ manual-lookup.inc

From: Date: Sat, 05 Jun 2010 15:23:38 +0000
Subject: svn: /web/php/trunk/include/ manual-lookup.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-8304@lists.php.net to get a copy of this message
bjori Sat, 05 Jun 2010 15:23:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=300206 Log: WS Changed paths: U web/php/trunk/include/manual-lookup.inc Modified: web/php/trunk/include/manual-lookup.inc =================================================================== --- web/php/trunk/include/manual-lookup.inc 2010-06-05 15:22:04 UTC (rev 300205) +++ web/php/trunk/include/manual-lookup.inc 2010-06-05 15:23:38 UTC (rev 300206) @@ -150,11 +150,12 @@ if ($q) { $r = sqlite_fetch_array($q, SQLITE_NUM); if (isset($r[0])) { - if(isset($r[1]) && $r[1] > 10 && strlen($keyword) < 4) { - // "Match" found, but the keyword is so short - // its probably bogus. Skip it - continue; - } + if(isset($r[1]) && $r[1] > 10 && strlen($keyword) < 4) { + // "Match" found, but the keyword is so short + // its probably bogus. Skip it + continue; + } + // Match found // But does the file really exist? if (file_exists($_SERVER["DOCUMENT_ROOT"] . $r[0])) { @@ -169,3 +170,4 @@ // No match found return find_manual_page_slow($langs[0], $kw); } +

« previous php.webmaster (#8304) next »