Update of /cvsroot/fink/web/pdb
In directory sc8-pr-cvs17:/tmp/cvs-serv5968
Modified Files:
package.php
Log Message:
this is not a fatal error
Index: package.php
===================================================================
RCS file: /cvsroot/fink/web/pdb/package.php,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- package.php 27 Sep 2007 23:03:14 -0000 1.49
+++ package.php 28 Sep 2007 01:20:54 -0000 1.50
@@ -73,9 +73,7 @@
$error_level = error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
$qs = cachedQuery($qtodisplay);
error_reporting($error_level);
-if (!$qs) {
- print '<p class="attention"><b>Error during db query (Package):</b>
'.mysql_error().'</p>';
-} else {
+if ($qs) {
$pkg2disp = array_shift($qs);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits