[Rt-devel] PATCH: silence warnings Admin/Elements/Tabs
Jim Meyer
purp at acm.org
Wed Nov 16 20:47:54 EST 2005
Attached.
--j
--
Jim Meyer, Geek at Large purp at acm.org
-------------- next part --------------
--- share/html/Admin/Elements/Tabs 2005-02-02 08:32:49.000000000 -0800
+++ local/html/Admin/Elements/Tabs 2005-11-16 17:45:18.000000000 -0800
@@ -73,9 +73,9 @@
# Now let callbacks add their extra tabs
$m->comp('/Elements/Callback', tabs => $tabs, %ARGS);
foreach my $tab (sort keys %{$tabs}) {
- if ($tabs->{$tab}->{'path'} eq $current_tab) {
+ if ($current_tab && ($tabs->{$tab}->{'path'} eq $current_tab)) {
$tabs->{$tab}->{"subtabs"} = $subtabs;
$tabs->{$tab}->{"current_subtab"} = $current_subtab;
}
}
More information about the Rt-devel
mailing list