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

Merge pull request #2245 from davecivicrm/CRM-13945

CRM-13945 - Editing website field via profile creates new entry
parents 6d087d5b 5a707dc5
Branches
Tags
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.
Please register or to comment