[Rt-commit] r11888 - rt/branches/3.8-TESTING/html/installation/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Apr 25 02:07:53 EDT 2008


Author: sunnavy
Date: Fri Apr 25 02:07:52 2008
New Revision: 11888

Modified:
   rt/branches/3.8-TESTING/html/installation/Elements/Edit

Log:
input can be '' sometimes

Modified: rt/branches/3.8-TESTING/html/installation/Elements/Edit
==============================================================================
--- rt/branches/3.8-TESTING/html/installation/Elements/Edit	(original)
+++ rt/branches/3.8-TESTING/html/installation/Elements/Edit	Fri Apr 25 02:07:52 2008
@@ -3,7 +3,8 @@
     Default      => 0,
     %{ $RT::Installer->{Meta}{$type}{'WidgetArguments'} },
     Name         => $type,
-    CurrentValue => $RT::Installer->{InstallConfig}{$type} || 
+    CurrentValue => exists $RT::Installer->{InstallConfig}{$type} ?
+        $RT::Installer->{InstallConfig}{$type} :
         scalar RT->Config->Get($type),
 &>
 % }


More information about the Rt-commit mailing list