From: Marcus Boerger Date: Sat, 6 Sep 2003 13:18:12 +0000 (+0000) Subject: Add missing newline if no static methods are available X-Git-Tag: RELEASE_0_7~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a986b3f6a44eb2813156442a9db107a761e4970c;p=php Add missing newline if no static methods are available --- diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 8dfe11a55d..ee9f7a5dff 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -371,7 +371,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in /* static properties */ string_printf(str, "\n%s - Static methods [%d] {", indent, count_static_funcs); - if (count > 0) { + if (count_static_funcs > 0) { HashPosition pos; zend_function *mptr; diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index 8dfe11a55d..ee9f7a5dff 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -371,7 +371,7 @@ static void _class_string(string *str, zend_class_entry *ce, zval *obj, char *in /* static properties */ string_printf(str, "\n%s - Static methods [%d] {", indent, count_static_funcs); - if (count > 0) { + if (count_static_funcs > 0) { HashPosition pos; zend_function *mptr;