Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
woocommerce-quick-donation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wordpress
woocommerce-quick-donation
Commits
c7a11ad1
Commit
c7a11ad1
authored
Oct 30, 2015
by
Varun Sridharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #34, Fixes #33
parent
eb63a4c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
class-quick-donation-process.php
includes/class-quick-donation-process.php
+2
-1
No files found.
includes/class-quick-donation-process.php
View file @
c7a11ad1
...
@@ -184,7 +184,8 @@ class WooCommerce_Quick_Donation_Process extends WooCommerce_Quick_Donation {
...
@@ -184,7 +184,8 @@ class WooCommerce_Quick_Donation_Process extends WooCommerce_Quick_Donation {
return
true
;
return
true
;
}
}
public
function
redirect_cart
(
$key
=
WC_QD_DB
.
'redirect_user'
){
public
function
redirect_cart
(
$key
=
''
){
if
(
empty
(
$key
)){
$key
=
WC_QD_DB
.
'redirect_user'
;}
if
(
$this
->
is_donation_exists
){
if
(
$this
->
is_donation_exists
){
$redirect
=
WC_QD
()
->
settings
()
->
get_option
(
$key
);
$redirect
=
WC_QD
()
->
settings
()
->
get_option
(
$key
);
$url
=
''
;
$url
=
''
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment