mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- Fix bug #2278
This commit is contained in:
parent
1ac04fe9f4
commit
3bfef7eef1
@ -1167,7 +1167,7 @@ void php3_mcal_days_in_month(INTERNAL_FUNCTION_PARAMETERS)
|
||||
}
|
||||
convert_to_long(month);
|
||||
convert_to_long(leap);
|
||||
convert_to_boolean_long(leap);
|
||||
convert_to_boolean(leap);
|
||||
RETURN_LONG(daysinmonth(month->value.lval,leap->value.lval));
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user