Use PDO::error_string instead of mysql_error

This commit is contained in:
Isaac Connor 2016-04-09 11:23:35 -04:00
parent e90024c0d0
commit ce6f8da098
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function dbLog( $sql, $update=false )
function dbError( $sql )
{
Fatal( "SQL-ERR '".mysql_error()."', statement was '".$sql."'" );
Fatal( "SQL-ERR '".$dbConn->errorInfo()."', statement was '".$sql."'" );
}
function dbEscape( $string )