Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
justinfreeman (Agileware)
Core
Commits
5a707dc5
Commit
5a707dc5
authored
11 years ago
by
Dave Greenberg
Browse files
Options
Downloads
Patches
Plain Diff
CRM-13945 - Editing website field via profile creates new entry
http://issues.civicrm.org/jira/browse/CRM-13945
parent
9b6e0408
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Core/BAO/Website.php
+1
-1
1 addition, 1 deletion
CRM/Core/BAO/Website.php
with
1 addition
and
1 deletion
CRM/Core/BAO/Website.php
+
1
−
1
View file @
5a707dc5
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment