Skip to content
Snippets Groups Projects
Commit 5a707dc5 authored by Dave Greenberg's avatar Dave Greenberg
Browse files

CRM-13945 - Editing website field via profile creates new entry

parent 9b6e0408
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ class CRM_Core_BAO_Website extends CRM_Core_DAO_Website {
) {
foreach ($ids as $id => $value) {
if (($value['website_type_id'] == $values['website_type_id'])
&& CRM_Utils_Array::value('url', $value)) {
&& CRM_Utils_Array::value('url', $values)) {
$values['id'] = $id;
unset($ids[$id]);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment