civicrm/civicrm-core — pull request #202 by pratik-joshi (2013-03-20 13:07:43+00:00)
Title: minor fix for 'Tag Merge UI break'  found during qa of CRM-12153 

found UI break while merging tags through UI.

visit civicrm/admin/tag?reset=1.
- make sure you have alteast 2 tags, click on merge link beside a tag row.
- a popup will appear with a auto-complete field, start filling the field with a tag name, the tag listing appears to be broken on that field.

After fixing fixing above bug:
- go foward after doing same steps mentioned above and click on 'ok' .
- the tags are still not merged, and Invalid type defination fatal error is shown in firefox console during executing ajax url for merging tags.
This happens because the 'post data' passing happens to be a single string and thus undefined is caught by the type defination of a post param checking for Integer, which generates error.