diff options
| author | Georg Richter <georg@php.net> | 2006-09-29 08:35:19 +0000 |
|---|---|---|
| committer | Georg Richter <georg@php.net> | 2006-09-29 08:35:19 +0000 |
| commit | d8b4ae50caeffe4e6c084843ade9f5318efae4a1 (patch) | |
| tree | 349bbfe033b51b0914269ee3c4c4499bc0a5c764 /ext/mysqli/mysqli_api.c | |
| parent | 9ae218ef458809895ecebdc5687a4d19d138ae13 (diff) | |
| download | php-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.c | 2 |
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; } |
