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
Container Registry
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
5e3ac055
Commit
5e3ac055
authored
11 years ago
by
Dave Greenberg
Browse files
Options
Downloads
Plain Diff
Merge pull request #1210 from pradpnayak/CRM-13065
-- fixed for CRM-13065
parents
0cf5d9aa
abe9581c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Upgrade/Incremental/php/FourThree.php
+4
-4
4 additions, 4 deletions
CRM/Upgrade/Incremental/php/FourThree.php
with
4 additions
and
4 deletions
CRM/Upgrade/Incremental/php/FourThree.php
+
4
−
4
View file @
5e3ac055
...
...
@@ -330,7 +330,7 @@ ADD CONSTRAINT `FK_civicrm_financial_item_contact_id` FOREIGN KEY (`contact_id`)
$upgrade
=
new
CRM_Upgrade_Form
();
//here we update price set entries
$sqlFinancialIds
=
"
SELECT id, name
SELECT id,
LCASE(name)
name
FROM civicrm_financial_type
WHERE name IN ('Donation', 'Event Fee', 'Member Dues');
"
;
...
...
@@ -342,9 +342,9 @@ WHERE name IN ('Donation', 'Event Fee', 'Member Dues');
UPDATE civicrm_price_set ps
SET ps.financial_type_id =
CASE
WHEN ps.extends LIKE '%1%' THEN
{
$financialIds
[
'
E
vent
F
ee'
]
}
WHEN ps.extends LIKE '2' THEN
{
$financialIds
[
'
D
onation'
]
}
WHEN ps.extends LIKE '3' THEN
{
$financialIds
[
'
M
ember
D
ues'
]
}
WHEN ps.extends LIKE '%1%' THEN
{
$financialIds
[
'
e
vent
f
ee'
]
}
WHEN ps.extends LIKE '2' THEN
{
$financialIds
[
'
d
onation'
]
}
WHEN ps.extends LIKE '3' THEN
{
$financialIds
[
'
m
ember
d
ues'
]
}
END
WHERE financial_type_id IS NULL
"
;
...
...
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