Index: menu.inc
===================================================================
--- menu.inc    (revision 4305)
+++ menu.inc    (working copy)
@@ -1355,8 +1355,30 @@
       }
     }
     usort($children, '_menu_sort');
-    $forked = $forked || count($children) > 1;
-
+
+    /**
+     * This change allows to show the tab even it is the single tab
+     * In order to show a single tab you need to add a field to your menu item(s)
+     *                 $items[]   = array(
+                   'path'     => 'missing_points_claim',
+                       'callback' => 'mpc_redirection',
+                   'title' => t('Missing Points Claim'),
+                   'access' => node_access('create', 'mpc'),
+                   'type'     =>  MENU_NORMAL_ITEM,
+                       'show single' =>true,
+                       );
+
+     * @author Bernard Szlachta bs(at)nobleprog.co.uk
+     */
+    if($_menu['items'][$pid]['show single tab']){
+               $children_count = count($children) >= 1;
+    } else {
+       $children_count = count($children) > 1;
+    }
+
+    $forked = $forked || $children_count;
+
+
     $_menu['local tasks'][$pid] = array('title' => $parent['title'], 'path' => $parent['path'], 'children' => $children);
     foreach ($children as $mid) {
       $_menu['local tasks'][$mid]['pid'] = $pid;
