Include base_path() on Stripe image

Closes #2.
This commit is contained in:
Matt
2017-02-27 18:53:13 -06:00
parent 0c9bfe260a
commit ca86fcf970

View File

@ -154,7 +154,7 @@ function uc_stripe_form_uc_cart_checkout_form_alter(&$form, &$form_state) {
if (variable_get('uc_stripe_poweredby', FALSE)) { if (variable_get('uc_stripe_poweredby', FALSE)) {
$payment_form['field_message'] = array( $payment_form['field_message'] = array(
'#type' => 'item', '#type' => 'item',
'#markup' => "<a href='http://stripe.com'><img src=".'/' . drupal_get_path('module', 'uc_stripe') . '/images/solid-dark.svg' . " alt='Powered by Stripe'></a>", '#markup' => "<a href='http://stripe.com'><img src=".base_path().drupal_get_path('module', 'uc_stripe') . '/images/solid-dark.svg' . " alt='Powered by Stripe'></a>",
'#weight' => 1, '#weight' => 1,
); );
} }