X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Frate.cgi;h=3443f81d4928580044f0216e07e2afd4dc737f48;hb=55a68e4aabe10db4d9c3ab1bb8befd2f9f4b9008;hp=4fdc837bb1252a76abb874a1661ba4538c8d732d;hpb=584caeef2ac90ab10fc028a7928b9ebc53e8b33a;p=freeside.git
diff --git a/httemplate/edit/rate.cgi b/httemplate/edit/rate.cgi
index 4fdc837bb..3443f81d4 100644
--- a/httemplate/edit/rate.cgi
+++ b/httemplate/edit/rate.cgi
@@ -1,12 +1,7 @@
-
<%
my $rate;
-if ( $cgi->param('error') ) {
- $rate = new FS::rate ( {
- map { $_, scalar($cgi->param($_)) } fields('rate')
- } );
-} elsif ( $cgi->keywords ) {
+if ( $cgi->keywords ) {
my($query) = $cgi->keywords;
$query =~ /^(\d+)$/;
$rate = qsearchs( 'rate', { 'ratenum' => $1 } );
@@ -37,12 +32,41 @@ END
))
%>
-<% if ( $cgi->param('error') ) { %>
-Error: <%= $cgi->param('error') %>
-<% } %>
+
+
+
+
+