Commit c7a11ad1 authored by Varun Sridharan's avatar Varun Sridharan

Fixes #34, Fixes #33

parent eb63a4c4
...@@ -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 = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment