[Rt-commit] r4265 - in rt/branches/3.7-EXPERIMENTAL: . html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Wed Dec 7 08:09:03 EST 2005


Author: ruz
Date: Wed Dec  7 08:09:02 2005
New Revision: 4265

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/Menu
Log:
 r1427 at cubic-pc:  cubic | 2005-12-07 16:07:52 +0300
 * default arg values


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/Menu
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/Menu	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/Menu	Wed Dec  7 08:09:02 2005
@@ -55,7 +55,7 @@
 % foreach $tab (sort keys %{$toptabs}) {
 %     $count++;
 %
-%     my $current = $current_toptab || "";
+%     my $current = $current_toptab;
 %     my $path    = $toptabs->{$tab}->{'path'} || "";
 %     
 %     $path    =~ s#/index.html$##gi;
@@ -116,8 +116,8 @@
 </%INIT>
 
 <%ARGS>
-$current_toptab => ""
-$toptabs => undef
+$toptabs => {}
+$current_toptab => ''
 $level => 0
 $last_level => 0
 </%ARGS>


More information about the Rt-commit mailing list