civicrm/civicrm-core — pull request #2680 by pratik-joshi (2014-03-15 07:16:06+00:00)
Title: CRM-13973-qa : a minor fix for - no changes in selection page and on save causes DB Error

I have tested it with some scenarios, working fine.