diff options
Diffstat (limited to 'views/mods/mod_revocation/mail_row.phtml')
| -rwxr-xr-x | views/mods/mod_revocation/mail_row.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/mods/mod_revocation/mail_row.phtml b/views/mods/mod_revocation/mail_row.phtml index fc784e7..3a5361a 100755 --- a/views/mods/mod_revocation/mail_row.phtml +++ b/views/mods/mod_revocation/mail_row.phtml @@ -4,13 +4,13 @@ * Template für die Integration des Widerruflinks in die Kunden- und Adminmail */ - $order_id = intval($this->view['order_id']); + $order_id = intval($this->view['wpsg_mod_revocation']['order_id']); $order_nr = $this->view['wpsg_mod_revocation']['order_nr']; $product_nr = $this->view['wpsg_mod_revocation']['product_nr']; $amount = $this->view['wpsg_mod_revocation']['amount']; - $order_product_id = intval($this->view['order_product_id']); + $order_product_id = intval($this->view['wpsg_mod_revocation']['order_product_id']); - $revo_url = get_home_url('/', '', 'http').'?wpsg_revo_order='.urlencode($order_nr).'&wpsg_revo_product='.urlencode($product_nr).'&wpsg_revo_amount='.urlencode($amount); + $revo_url = home_url('/').'?wpsg_revo_order='.urlencode($order_nr).'&wpsg_revo_product='.urlencode($product_nr).'&wpsg_revo_amount='.urlencode($amount); ?><?php echo "\n"; ?> <?php echo wpsg_pad_left(__('Vertrag widerrufen:', 'wpsg').' ', 15); ?> <?php echo $revo_url; ?> |
