X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fsqlradius.cgi;h=b506ba1cb1c80b42cee142f70208368e2725a112;hp=11edf3cf9f04aa67ddccc93dc51f8586a0f700ef;hb=6083603212ea08b80c0f48ad61f4421aae85c31d;hpb=85277a99fc463da9da890d0fa11df4abf0af6fe0 diff --git a/httemplate/search/sqlradius.cgi b/httemplate/search/sqlradius.cgi index 11edf3cf9..b506ba1cb 100644 --- a/httemplate/search/sqlradius.cgi +++ b/httemplate/search/sqlradius.cgi @@ -64,7 +64,7 @@ $svc_acct = $user2svc_acct{$user}; } else { my %search = (); - if ( $part_export->exporrtype eq 'sqlradius_withdomain' ) { + if ( $part_export->exporttype eq 'sqlradius_withdomain' ) { my $domain; if ( $user =~ /^([^@]+)\@([^@]+)$/ ) { $search{'username'} = $1; @@ -82,7 +82,8 @@ } elsif ( $part_export->exporttype eq 'sqlradius' ) { $search{'username'} = $user; } else { - die "guru meditation #420"; + die 'unknown export type '. $part_export->exporttype. + " for $part_export\n"; } if ( keys %search ) { my @svc_acct = @@ -242,7 +243,7 @@ ) { %> <% foreach my $field ( keys %fields ) { %> - + <%= &{ $fields{$field}->{fmt} }( $session->{$field}, $session, $part_export,