Bugfix PHP month selection

Hat-tip to Arnaud