fix sqlradius export to not set blank id fields
authorivan <ivan>
Sat, 5 Oct 2002 11:14:08 +0000 (11:14 +0000)
committerivan <ivan>
Sat, 5 Oct 2002 11:14:08 +0000 (11:14 +0000)
FS/FS/part_export/sqlradius.pm

index 0f93703..ccf9a76 100644 (file)
@@ -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;