andrey Mon May 9 18:31:55 2005 EDT Modified files: (Branch: PHP_5_0) /php-src/ext/mysqli mysqli_api.c Log: MFH http://cvs.php.net/diff.php/php-src/ext/mysqli/mysqli_api.c?r1=1.87.2.18&r2=1.87.2.19&ty=u Index: php-src/ext/mysqli/mysqli_api.c diff -u php-src/ext/mysqli/mysqli_api.c:1.87.2.18 php-src/ext/mysqli/mysqli_api.c:1.87.2.19 --- php-src/ext/mysqli/mysqli_api.c:1.87.2.18 Mon May 9 17:47:36 2005 +++ php-src/ext/mysqli/mysqli_api.c Mon May 9 18:31:52 2005 @@ -15,7 +15,7 @@ | Author: Georg Richter <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ - $Id: mysqli_api.c,v 1.87.2.18 2005/05/09 21:47:36 andrey Exp $ + $Id: mysqli_api.c,v 1.87.2.19 2005/05/09 22:31:52 andrey Exp $ */ #ifdef HAVE_CONFIG_H @@ -1557,7 +1557,8 @@ return; } if (offset < 0) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset must be positive"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Offset must be positive"); + RETURN_FALSE; } MYSQLI_FETCH_RESOURCE(stmt, MY_STMT *, &mysql_stmt, "mysqli_stmt");
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php