Merge pull request #22449 from mattwire/phpnotices
[civicrm-core.git] / templates / CRM / common / batchCopy.tpl
index ebcca6c73a3a9e26a66a7656606d0c8930ca3b0d..a1b120161991c39d09a445fff28b36f6e6aaff2d 100644 (file)
@@ -37,7 +37,7 @@
       // wysiwyg editor, advanced multi-select ( to do )
       if ( elementType == 'radio' ) {
         firstElementValue = elementId.filter(':checked').eq(0).val();
-        elementId.filter("[value=" + firstElementValue + "]").prop("checked",true).change();
+        elementId.filter("[value='" + firstElementValue + "']").prop("checked",true).change();
       }
       else if ( elementType == 'checkbox' ) {
         // handle checkbox