From 19f532c2467305d792be37e990ab5071adb0348e Mon Sep 17 00:00:00 2001 From: JoungKyun Kim Date: Mon, 25 Jul 2022 21:34:42 +0900 Subject: [PATCH] fixed #3 fixed typo 'calassname' to 'classname' --- mysql-wrapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);