fix runtime spamming logs

This commit is contained in:
Marek Isalski 2018-05-20 16:17:52 +01:00
parent 3cfbf2bce5
commit 039dc5e31c

View File

@ -581,7 +581,7 @@ function fulcrm_shoppingcart_buy_generic_product_form( $form, &$form_state, $per
'#markup' => '<h3>' . check_plain( $product[ 'name' ] ) . '</h3>',
);
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',