Include base_path() on Stripe image #3
@ -154,7 +154,7 @@ function uc_stripe_form_uc_cart_checkout_form_alter(&$form, &$form_state) {
|
||||
if (variable_get('uc_stripe_poweredby', FALSE)) {
|
||||
$payment_form['field_message'] = array(
|
||||
'#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,
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user