diff options
author | ivan <ivan> | 2002-10-05 11:15:18 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-10-05 11:15:18 +0000 |
commit | 915048e11feccc0206e72ecc64435fe99ba2e720 (patch) | |
tree | 3452173468645f7501483be1f124e60e723d9315 | |
parent | 8a1495d1fa92757484b0734af465e7244c6f233d (diff) |
fix all the places where an id is explicitly set
-rw-r--r-- | FS/FS/part_export/sqlradius.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/sqlradius.pm b/FS/FS/part_export/sqlradius.pm index 265f00c28..ccf9a7687 100644 --- 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; - $i_sth->execute( '', $username, $attribute, $attributes{$attribute} ) + $i_sth->execute( $username, $attribute, $attributes{$attribute} ) 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 ) { - $sth->execute( '', $username, $group ) + $sth->execute( $username, $group ) or die "can't insert into groupname table: ". $sth->errstr; } $dbh->disconnect; |