This commit is contained in:
Andi Gutmans 1999-09-18 23:21:33 +00:00
parent 1ac04fe9f4
commit 3bfef7eef1

View File

@ -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));
}
/* }}} */