diff --git a/ms_core/ms_core.recurring.inc b/ms_core/ms_core.recurring.inc
index 96f5a71..cd7a552 100644
--- a/ms_core/ms_core.recurring.inc
+++ b/ms_core/ms_core.recurring.inc
@@ -6,7 +6,7 @@
  *
  * Original author: Leighton Whiting - Released under GENERAL PUBLIC LICENSE
  * Current maintenance by multiple MoneySuite users.
- * Re: new initiative: https://www.drupal.org/node/2315653 
+ * Re: new initiative: https://www.drupal.org/node/2315653
  */
 
 /**
@@ -198,7 +198,7 @@ function ms_core_modify_confirm_submit($form, &$form_state) {
   // Remove any coupons from the order.
   ms_core_remove_order_adjustments($order);
 
-  $product_id = !empty($form['#ms_core_id']) ? $form['#ms_core_id'] : NULL;
+  $product_id = !empty($form['#ms_core_pid']) ? $form['#ms_core_pid'] : NULL;
 
   if ($amount = ms_core_get_outstanding_modification_amount($new_product, $order, $product_id)) {
     // Ask the gateway to charge the order.
