From ecfecb994da47a623cd287b96de3b9956eb14975 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 5 Mar 2007 07:27:10 +0000 Subject: [PATCH] Fixed up tabs some more, to avoid silly tabs that don't exist --- mod/data/tabs.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod/data/tabs.php b/mod/data/tabs.php index eb558d3be9a..3489595b37e 100755 --- a/mod/data/tabs.php +++ b/mod/data/tabs.php @@ -80,6 +80,9 @@ $currenttab = $template; } } + if ($currenttab == '') { + $currenttab = $mode = 'singletemplate'; + } $tabs[] = $row; $activetwo = array('templates'); } else {