correctly allow re-editing of config options with " in them
authorivan <ivan>
Sun, 19 Oct 2008 01:57:42 +0000 (01:57 +0000)
committerivan <ivan>
Sun, 19 Oct 2008 01:57:42 +0000 (01:57 +0000)
httemplate/config/config.cgi

index 9223167..5e73b59 100644 (file)
@@ -59,7 +59,7 @@ Setting <b><% $key %></b>
 
 %   } elsif ( $type eq 'text' )  { 
 
-  <input name="<% "$key$n" %>" type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' %>">
+  <input name="<% "$key$n" %>" type="text" value="<% $conf->exists($key, $agentnum) ? $conf->config($key, $agentnum) : '' |h %>">
 
 %   } elsif ( $type eq 'select' || $type eq 'selectmultiple' )  {