summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Bourdoux <dominion1987@gmail.com>2017-09-07 22:22:11 +0200
committerGitHub <noreply@github.com>2017-09-07 22:22:11 +0200
commitc7c335718e3fd2a362966f9263856bea504d685b (patch)
treef66970b19a5fd5112281de957ff6259ace8382ae
parenta577e8b3ed2ebec3d2b951d9acb1d78d0f700e34 (diff)
downloadphp-mysql-mysqli-wrapper-c7c335718e3fd2a362966f9263856bea504d685b.zip
php-mysql-mysqli-wrapper-c7c335718e3fd2a362966f9263856bea504d685b.tar.gz
php-mysql-mysqli-wrapper-c7c335718e3fd2a362966f9263856bea504d685b.tar.bz2
Fix mysql_data_seek
-rw-r--r--mysql.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql.php b/mysql.php
index d15d9dc..0ef2ebc 100644
--- a/mysql.php
+++ b/mysql.php
@@ -511,7 +511,7 @@ if (!extension_loaded('mysql') && !function_exists('mysql_connect')) {
*/
function mysql_data_seek(mysqli_result $result, $row_number = 0)
{
- return mysqli_field_seek($result, $row_number);
+ return mysqli_data_seek($result, $row_number);
}
/**
@@ -675,4 +675,4 @@ if (!extension_loaded('mysql') && !function_exists('mysql_connect')) {
}
}
-?> \ No newline at end of file
+?>