From: Andrey Hristov Date: Mon, 9 May 2005 22:29:54 +0000 (+0000) Subject: after throwing an warning bail out X-Git-Tag: php-5.0.1b1~273 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e97019a69b8c5d247216b651763fdcd22b75edc;p=php after throwing an warning bail out --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 42595223ee..c62b1da82b 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1521,7 +1521,8 @@ PHP_FUNCTION(mysqli_stmt_data_seek) 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");