From 3251330c4c003cf93ea15ec93a006d58cf55bcf7 Mon Sep 17 00:00:00 2001 From: Manuel Cillero Date: Wed, 26 Jul 2017 09:30:09 +0200 Subject: [PATCH] Compatibility with PHP 5.4 --- modules/taxonomy/taxonomy.pages.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc index aa3e68d..6fdb688 100644 --- a/modules/taxonomy/taxonomy.pages.inc +++ b/modules/taxonomy/taxonomy.pages.inc @@ -30,6 +30,7 @@ function taxonomy_term_page($str_tids = '', $depth = 0, $op = 'page') { switch ($op) { case 'page': // Build breadcrumb based on first hierarchy of first term: + $current = new stdClass(); $current->tid = $tids[0]; $breadcrumb = array(); while ($parents = taxonomy_get_parents($current->tid)) {