cvs: php4 /ext/standard array.c

From: Date: Sat, 29 Jun 2002 15:39:41 +0000
Subject: cvs: php4 /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12632@lists.php.net to get a copy of this message
derick Sat Jun 29 11:39:41 2002 EDT Modified files: /php4/ext/standard array.c Log: - Fix for bug #17654 Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.168 php4/ext/standard/array.c:1.169 --- php4/ext/standard/array.c:1.168 Tue Jun 18 15:37:59 2002 +++ php4/ext/standard/array.c Sat Jun 29 11:39:41 2002 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.168 2002/06/18 19:37:59 venaas Exp $ */ +/* $Id: array.c,v 1.169 2002/06/29 15:39:41 derick Exp $ */ #include "php.h" #include "php_ini.h" @@ -1979,7 +1979,7 @@ /* Get the argument count and check it */ argc = ZEND_NUM_ARGS(); - if (argc < 2) { + if (argc < 1) { WRONG_PARAM_COUNT; }

« previous php.cvs (#12632) next »