mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
Fixed error message (thanks to Ulf Wendel)
This commit is contained in:
parent
9ae218ef45
commit
d8b4ae50ca
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user