summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_api.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2006-09-29 08:35:19 +0000
committerGeorg Richter <georg@php.net>2006-09-29 08:35:19 +0000
commitd8b4ae50caeffe4e6c084843ade9f5318efae4a1 (patch)
tree349bbfe033b51b0914269ee3c4c4499bc0a5c764 /ext/mysqli/mysqli_api.c
parent9ae218ef458809895ecebdc5687a4d19d138ae13 (diff)
downloadphp-git-d8b4ae50caeffe4e6c084843ade9f5318efae4a1.tar.gz
Fixed error message (thanks to Ulf Wendel)
Diffstat (limited to 'ext/mysqli/mysqli_api.c')
-rw-r--r--ext/mysqli/mysqli_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index 959df2d69f..7eaa947cce 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -999,7 +999,7 @@ PHP_FUNCTION(mysqli_field_seek)
MYSQLI_FETCH_RESOURCE(result, MYSQL_RES *, &mysql_result, "mysqli_result", MYSQLI_STATUS_VALID);
if (fieldnr < 0 || fieldnr >= mysql_num_fields(result)) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "Function cannot be used with MYSQL_USE_RESULT");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid field offset");
RETURN_FALSE;
}