X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FXml.php;h=7dcd4a4327590016ef99d9dc459715d128c0792d;hb=669a21a925ca4b30f850905806c08dbd82ecf03d;hp=b20f66ef1c0413b09dca529fa4cd23b65c1e058f;hpb=bdf062a8e9f351d3b94f99f2cbe9f7176f0b8801;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Xml.php b/includes/Xml.php index b20f66ef1c..7dcd4a4327 100644 --- a/includes/Xml.php +++ b/includes/Xml.php @@ -160,8 +160,9 @@ class Xml { } /** - * @param int $year - * @param int $month + * @param int|string $year Use '' or 0 to start with no year preselected. + * @param int|string $month A month in the 1..12 range. Use '', 0 or -1 to start with no month + * preselected. * @return string Formatted HTML */ public static function dateMenu( $year, $month ) {