Skip to content

Commit

Permalink
Let's fallback to the previous code
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwch committed Jul 9, 2015
1 parent 247c187 commit 529bb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commerce_instamojo.module
Expand Up @@ -125,7 +125,7 @@ function instamojo_redirect_form($form, &$form_state, $order, $payment_method) {

$full_name = trim(substr($profile->commerce_customer_address['und'][0]['first_name'] . ' '. $profile->commerce_customer_address['und'][0]['last_name'], 0, 20));
$email = substr($order->mail, 0, 75);
$phone = trim(substr($profile->field_phone_no['und'][0]['value'], 0, 20), '+');
$phone = substr($profile->field_phone_no['und'][0]['value'], 0, 20);

$data = Array();
$data['data_email'] = $email;
Expand Down

0 comments on commit 529bb87

Please sign in to comment.