From 5550482ee88d96ab333f0e70c374e220f5500a19 Mon Sep 17 00:00:00 2001 From: Bart Van Der Meerssche Date: Wed, 9 Sep 2009 22:06:07 +0000 Subject: [PATCH] web: update of menu tabs patch --- .../logger/patches/menu.allow.display.of.single.tabs.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/drupal/modules/logger/patches/menu.allow.display.of.single.tabs.patch b/web/drupal/modules/logger/patches/menu.allow.display.of.single.tabs.patch index d29f950..a464666 100644 --- a/web/drupal/modules/logger/patches/menu.allow.display.of.single.tabs.patch +++ b/web/drupal/modules/logger/patches/menu.allow.display.of.single.tabs.patch @@ -13,7 +13,7 @@ diff -u -p -r1.255.2.31 menu.inc - // We do not display single tabs. - return (isset($tabs[$level]) && $tabs[$level]['count'] > 1) ? $tabs[$level]['output'] : ''; + // We do not display single tabs: BVDM yes we do for flukso! -+ return (isset($tabs[$level])) ? $tabs[$level]['output'] : ''; ++ return (isset($tabs[$level]) && ($tabs[$level]['count'] > 1 || substr_count($tabs[$level]['output'], 'electricity') > 0)) ? $tabs[$level]['output'] : ''; } }