]> granicus.if.org Git - php/commitdiff
Fixed error message (thanks to Ulf Wendel)
authorGeorg Richter <georg@php.net>
Fri, 29 Sep 2006 08:35:19 +0000 (08:35 +0000)
committerGeorg Richter <georg@php.net>
Fri, 29 Sep 2006 08:35:19 +0000 (08:35 +0000)
ext/mysqli/mysqli_api.c

index 959df2d69f2c9d6902f79082132293179b73986e..7eaa947ccea75affa0a0bdc04e818434f7667564 100644 (file)
@@ -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; 
        }