Closed (fixed)
Project:
Commerce Payment Network
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2012 at 18:39 UTC
Updated:
27 Jun 2012 at 22:31 UTC
The usage of drupal_alter()
// Allow modules to add or alter the data sent to payment network.
drupal_alter('commerce_payment_network_data', &$data, $order, $settings);
in the function commerce_payment_network_build_redirect_form() in the module file are wrong and produce the error
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1128 of /var/www/commerce/includes/bootstrap.inc).
Fix the bug with following code:
// Allow modules to add or alter the data sent to payment network.
drupal_alter('commerce_payment_network_data', $data, $order, $settings);
The error occurs with PHP 5.3.10 (Ubuntu 12.04).
Thanks for this DC module.
Comments
Comment #1
forward-media commentedThank you!
Comment #2
forward-media commented