cvs: phpweb /include manual-lookup.inc
| From: | Gabor Hojtsy | Date: | Sat, 06 Sep 2003 08:52:15 +0000 |
| Subject: | cvs: phpweb /include manual-lookup.inc | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-20813@lists.php.net to get a copy of this message | ||
goba Sat Sep 6 04:52:15 2003 EDT
Modified files:
/phpweb/include manual-lookup.inc
Log:
Silence warning on sqlite_query if the table does not exist
Index: phpweb/include/manual-lookup.inc
diff -u phpweb/include/manual-lookup.inc:1.23 phpweb/include/manual-lookup.inc:1.24
--- phpweb/include/manual-lookup.inc:1.23 Fri Aug 8 09:43:39 2003
+++ phpweb/include/manual-lookup.inc Sat Sep 6 04:52:15 2003
@@ -1,6 +1,6 @@
<?php // -*- C++ -*-
-// $Id: manual-lookup.inc,v 1.23 2003/08/08 13:43:39 goba Exp $
+// $Id: manual-lookup.inc,v 1.24 2003/09/06 08:52:15 goba Exp $
// Try to find some variations of keyword with $prefix in the $lang manual
function tryprefix($lang, $keyword, $prefix)
@@ -134,7 +134,7 @@
// Check for all the languages
foreach ($langs as $lang) {
- $q = sqlite_query($s, str_replace('LANG_HERE', $lang, $SQL));
+ $q = @sqlite_query($s, str_replace('LANG_HERE', $lang, $SQL));
// Successful query
if ($q) {