diff --git a/mysql-wrapper.php b/mysql-wrapper.php index 720ba5c..c5ade8e 100644 --- a/mysql-wrapper.php +++ b/mysql-wrapper.php @@ -486,9 +486,9 @@ function mysql_fetch_object ($result, $classname = null, $params = null) { ); return false; } - $r = mysqli_fetch_object ($result, $calassname, $params); + $r = mysqli_fetch_object ($result, $classname, $params); } else - $r = mysqli_fetch_object ($result, $calassname); + $r = mysqli_fetch_object ($result, $classname); } else $r = mysqli_fetch_object ($result);