summaryrefslogtreecommitdiffstats
path: root/mysql.php
diff options
context:
space:
mode:
authorSjoerd Maessen <github@sjoerdmaessen.nl>2017-09-08 10:08:33 +0200
committerGitHub <noreply@github.com>2017-09-08 10:08:33 +0200
commitaa9df807e9ae4d3882727dceb753c84532422e0f (patch)
treef66970b19a5fd5112281de957ff6259ace8382ae /mysql.php
parenta577e8b3ed2ebec3d2b951d9acb1d78d0f700e34 (diff)
parentc7c335718e3fd2a362966f9263856bea504d685b (diff)
downloadphp-mysql-mysqli-wrapper-aa9df807e9ae4d3882727dceb753c84532422e0f.zip
php-mysql-mysqli-wrapper-aa9df807e9ae4d3882727dceb753c84532422e0f.tar.gz
php-mysql-mysqli-wrapper-aa9df807e9ae4d3882727dceb753c84532422e0f.tar.bz2
Merge pull request #1 from xurei/master
Fix mysql_data_seek
Diffstat (limited to 'mysql.php')
-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
+?>