CRM-19847 - never redirect user to a snippet URL.
[civicrm-core.git] / CRM / Contact / Page / DedupeFind.php
index 0ef04ac91a92dfa8f24913ee586cd6d885885017..ce63fe7cc6f1fae17aaedc97f463e4763cac1bf1 100644 (file)
@@ -155,6 +155,7 @@ class CRM_Contact_Page_DedupeFind extends CRM_Core_Page_Basic {
         if ($context == 'conflicts') {
           // if the current screen was intended to list only selected contacts, move back to full dupe list
           $urlQry['action'] = 'update';
+          unset($urlQry['snippet']);
           CRM_Utils_System::redirect(CRM_Utils_System::url(CRM_Utils_System::currentPath(), $urlQry));
         }
         if ($gid) {