[Rt-commit] r9408 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools

ruz at bestpractical.com ruz at bestpractical.com
Mon Oct 22 19:59:50 EDT 2007


Author: ruz
Date: Mon Oct 22 19:59:50 2007
New Revision: 9408

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html

Log:
* don't show a box if there is nothing to show

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Tools/ScriptedAction.html	Mon Oct 22 19:59:50 2007
@@ -41,7 +41,7 @@
 <input type="hidden" name="Status" value="<%$ARGS{Status}||'open'%>" />
 <a name="top"></a>
         
-% if (exists $ARGS{'TestAddresses'}) {
+% if ( $ARGS{'TestAddresses'} && keys %$addrhash ) {
 <&| /Widgets/TitleBox, contentbg => "#cccccc", 
     title => 'Address test results' &>
 <ul>


More information about the Rt-commit mailing list