projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
93e53ee
)
more info in error message for unknown export type, fix test for sqlradius_withdomain...
author
ivan
<ivan>
Tue, 12 Oct 2004 06:08:03 +0000
(06:08 +0000)
committer
ivan
<ivan>
Tue, 12 Oct 2004 06:08:03 +0000
(06:08 +0000)
httemplate/search/sqlradius.cgi
patch
|
blob
|
history
diff --git
a/httemplate/search/sqlradius.cgi
b/httemplate/search/sqlradius.cgi
index
5fd32f4
..
b506ba1
100644
(file)
--- a/
httemplate/search/sqlradius.cgi
+++ b/
httemplate/search/sqlradius.cgi
@@
-64,7
+64,7
@@
$svc_acct = $user2svc_acct{$user};
} else {
my %search = ();
$svc_acct = $user2svc_acct{$user};
} else {
my %search = ();
- if ( $part_export->expor
r
type eq 'sqlradius_withdomain' ) {
+ if ( $part_export->expor
t
type eq 'sqlradius_withdomain' ) {
my $domain;
if ( $user =~ /^([^@]+)\@([^@]+)$/ ) {
$search{'username'} = $1;
my $domain;
if ( $user =~ /^([^@]+)\@([^@]+)$/ ) {
$search{'username'} = $1;
@@
-82,7
+82,8
@@
} elsif ( $part_export->exporttype eq 'sqlradius' ) {
$search{'username'} = $user;
} else {
} 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 =
}
if ( keys %search ) {
my @svc_acct =