]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
allow debugging of connection errors
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 14 Sep 2010 19:20:31 +0000 (19:20 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 14 Sep 2010 19:20:31 +0000 (19:20 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@734 b3834d28-1941-0410-a4f8-b48e95affb8f

src/SemanticScuttle/db/mysqli.php

index 03b36ead4ff9bf80f3b1bcbd6b8fa395954eb616..9a2709af8d902c696f25c9298fccfaf4db8aa1f9 100644 (file)
@@ -50,7 +50,7 @@ class sql_db
                        }
                }
 
-               return $this->sql_error('');
+               return $this->sql_error(mysqli_connect_error());
        }
 
        //