civicrm/civicrm-core — pull request #1011 by tttp (2013-06-14 12:00:54+00:00)
Title: patch as transmited by charles cook

Tested, it does fix the issue.

Step to reproduce:
- create a profile with country+state+email
- enable several countries
- create a petition with that profile
- change country, the states' list is now correctly updated