projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b6e040
)
CRM-13945 - Editing website field via profile creates new entry
author
Dave Greenberg
<dave@civicrm.org>
Mon, 23 Dec 2013 21:34:38 +0000
(13:34 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Mon, 23 Dec 2013 21:34:38 +0000
(13:34 -0800)
http://issues.civicrm.org/jira/browse/CRM-13945
CRM/Core/BAO/Website.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/BAO/Website.php
b/CRM/Core/BAO/Website.php
index b40cf4c52fd8d313270c5b5104793ec85d2b0e33..15d58ed5a2d25f9591f0b3414782d6c791a90138 100644
(file)
--- a/
CRM/Core/BAO/Website.php
+++ b/
CRM/Core/BAO/Website.php
@@
-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', $value
s
)) {
$values['id'] = $id;
unset($ids[$id]);
break;