patch for CRM-13290
Merge pull request #1532 from yashodha/CRM-13290

patch for CRM-13290