From 039dc5e31cba3abbfe0dee766c25bc27385c23f9 Mon Sep 17 00:00:00 2001 From: Marek Isalski Date: Sun, 20 May 2018 16:17:52 +0100 Subject: [PATCH] fix runtime spamming logs --- fulcrm_shoppingcart.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fulcrm_shoppingcart.module b/fulcrm_shoppingcart.module index fa6474c..6831b42 100644 --- a/fulcrm_shoppingcart.module +++ b/fulcrm_shoppingcart.module @@ -581,7 +581,7 @@ function fulcrm_shoppingcart_buy_generic_product_form( $form, &$form_state, $per '#markup' => '

' . check_plain( $product[ 'name' ] ) . '

', ); - drupal_set_title( check_plain( $product_data[ 'data' ][ 'name' ] ) ); + drupal_set_title( check_plain( $product[ 'data' ][ 'name' ] ) ); $form[ 'actions' ] = array( '#type' => 'actions' ); $form[ 'actions' ][ 'save' ] = array( '#type' => 'submit',