projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8a1495d
)
fix all the places where an id is explicitly set
author
ivan
<ivan>
Sat, 5 Oct 2002 11:15:18 +0000
(11:15 +0000)
committer
ivan
<ivan>
Sat, 5 Oct 2002 11:15:18 +0000
(11:15 +0000)
FS/FS/part_export/sqlradius.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/sqlradius.pm
b/FS/FS/part_export/sqlradius.pm
index
265f00c
..
ccf9a76
100644
(file)
--- a/
FS/FS/part_export/sqlradius.pm
+++ b/
FS/FS/part_export/sqlradius.pm
@@
-190,7
+190,7
@@
sub sqlradius_insert { #subroutine, not method
"INSERT INTO rad$table ( UserName, Attribute, Value ) ".
"VALUES ( ?, ?, ? )"
) or die $dbh->errstr;
"INSERT INTO rad$table ( UserName, Attribute, Value ) ".
"VALUES ( ?, ?, ? )"
) or die $dbh->errstr;
- $i_sth->execute(
'',
$username, $attribute, $attributes{$attribute} )
+ $i_sth->execute( $username, $attribute, $attributes{$attribute} )
or die $i_sth->errstr;
}
or die $i_sth->errstr;
}
@@
-207,7
+207,7
@@
sub sqlradius_usergroup_insert { #subroutine, not method
"INSERT INTO usergroup ( UserName, GroupName ) VALUES ( ?, ? )"
) or die $dbh->errstr;
foreach my $group ( @groups ) {
"INSERT INTO usergroup ( UserName, GroupName ) VALUES ( ?, ? )"
) or die $dbh->errstr;
foreach my $group ( @groups ) {
- $sth->execute(
'',
$username, $group )
+ $sth->execute( $username, $group )
or die "can't insert into groupname table: ". $sth->errstr;
}
$dbh->disconnect;
or die "can't insert into groupname table: ". $sth->errstr;
}
$dbh->disconnect;