cvs: php4 /ext/standard basic_functions.c
| From: | Jani Taskinen | Date: | Thu, 03 Apr 2003 01:12:47 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-20008@lists.php.net to get a copy of this message | ||
sniper Wed Apr 2 20:12:47 2003 EDT
Modified files:
/php4/ext/standard basic_functions.c
Log:
CS fix
Index: php4/ext/standard/basic_functions.c
diff -u php4/ext/standard/basic_functions.c:1.602 php4/ext/standard/basic_functions.c:1.603
--- php4/ext/standard/basic_functions.c:1.602 Wed Apr 2 18:11:31 2003
+++ php4/ext/standard/basic_functions.c Wed Apr 2 20:12:47 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.c,v 1.602 2003/04/02 23:11:31 rasmus Exp $ */
+/* $Id: basic_functions.c,v 1.603 2003/04/03 01:12:47 sniper Exp $ */
#include "php.h"
#include "php_streams.h"
@@ -2695,6 +2695,7 @@
tick_fe.calling = 0;
tick_fe.arg_count = ZEND_NUM_ARGS();
+
if (tick_fe.arg_count < 1) {
WRONG_PARAM_COUNT;
}
@@ -2737,8 +2738,10 @@
WRONG_PARAM_COUNT;
}
- if(!BG(user_tick_functions)) return;
-
+ if (!BG(user_tick_functions)) {
+ return;
+ }
+
if (Z_TYPE_PP(function) != IS_ARRAY) {
convert_to_string_ex(function);
}