]> granicus.if.org Git - php/commitdiff
CS fix
authorfoobar <sniper@php.net>
Thu, 3 Apr 2003 01:12:47 +0000 (01:12 +0000)
committerfoobar <sniper@php.net>
Thu, 3 Apr 2003 01:12:47 +0000 (01:12 +0000)
ext/standard/basic_functions.c

index 1f62c0a26fb796ff78857301b19cf41fe54e139f..e81446dc60b90718a5c44a2e4966e2f36d8a33d7 100644 (file)
@@ -2695,6 +2695,7 @@ PHP_FUNCTION(register_tick_function)
 
        tick_fe.calling = 0;
        tick_fe.arg_count = ZEND_NUM_ARGS();
+
        if (tick_fe.arg_count < 1) {
                WRONG_PARAM_COUNT;
        }
@@ -2737,8 +2738,10 @@ PHP_FUNCTION(unregister_tick_function)
                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);
        }