[Rt-commit] r14653 - in rtfm/trunk: . html/RTFM/Article

falcone at bestpractical.com falcone at bestpractical.com
Wed Jul 30 16:03:51 EDT 2008


Author: falcone
Date: Wed Jul 30 16:03:49 2008
New Revision: 14653

Modified:
   rtfm/trunk/   (props changed)
   rtfm/trunk/html/RTFM/Article/Edit.html
   rtfm/trunk/html/RTFM/Elements/Tabs

Log:
 r36366 at ketch:  falcone | 2008-07-29 17:38:22 -0400
 * warning cleanups


Modified: rtfm/trunk/html/RTFM/Article/Edit.html
==============================================================================
--- rtfm/trunk/html/RTFM/Article/Edit.html	(original)
+++ rtfm/trunk/html/RTFM/Article/Edit.html	Wed Jul 30 16:03:49 2008
@@ -59,7 +59,7 @@
 <& /Elements/ListActions, actions => \@results &>
 
 <form method="post" action="Edit.html" name="EditArticle" id="EditArticle" enctype="multipart/form-data">
-<input type="hidden" name="next" value="<%$ARGS{next}%>" />
+<input type="hidden" name="next" value="<%$ARGS{next}||''%>" />
 <input type="hidden" name="id" value="<%$id%>" />
 <table width="100%">
 <tr>

Modified: rtfm/trunk/html/RTFM/Elements/Tabs
==============================================================================
--- rtfm/trunk/html/RTFM/Elements/Tabs	(original)
+++ rtfm/trunk/html/RTFM/Elements/Tabs	Wed Jul 30 16:03:49 2008
@@ -93,7 +93,7 @@
   $m->comp('/Elements/Callback', topactions => $topactions, toptabs => $toptabs, %ARGS);
 
   foreach my $tab (sort keys %{$second_tabs}) {
-    if ($second_tabs->{$tab}->{'path'} eq $current_toptab) {
+    if ($current_toptab && $second_tabs->{$tab}->{'path'} eq $current_toptab) {
       $second_tabs->{$tab}->{"subtabs"} = $tabs;
       $second_tabs->{$tab}->{"current_subtab"} = $current_tab;
     }


More information about the Rt-commit mailing list