Commit 8ebde830 authored by Ryan Szrama's avatar Ryan Szrama Committed by Ryan Szrama
Browse files

Issue #3266601 by hey_germano, rszrama: Notice: Trying to access array offset...

Issue #3266601 by hey_germano, rszrama: Notice: Trying to access array offset on value of type bool in commerce_kickstart_taxonomy_preprocess_page()
parent ef813b65
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/commerce_kickstart/commerce_kickstart_taxonomy/commerce_kickstart_taxonomy.module: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ function commerce_kickstart_taxonomy_preprocess_page(&$variables) {
  // Remove collection_taxonomy_term view title.
  $router_item = menu_get_item(current_path());
  $machine_name = variable_get('commerce_kickstart_demo_store', FALSE) ? 'collection' : 'product_category';
  if ($router_item['path'] == $machine_name . '/%') {
  if (!empty($router_item['path']) && $router_item['path'] == $machine_name . '/%') {
    $variables['title'] = '';
  }
}