From: Georg Richter Date: Fri, 29 Sep 2006 08:35:19 +0000 (+0000) Subject: Fixed error message (thanks to Ulf Wendel) X-Git-Tag: RELEASE_1_0_0RC1~1511 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8b4ae50caeffe4e6c084843ade9f5318efae4a1;p=php Fixed error message (thanks to Ulf Wendel) --- 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; }