diff options
author | Christian Pointner <equinox@spreadspace.org> | 2015-09-04 18:22:27 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2015-09-04 18:22:27 (GMT) |
commit | f48ce6d5bcbe25ed3d6b0e2aa118ac56cda07254 (patch) | |
tree | 65318b9f07acf1448de3657f170a4aece3761a05 /lib | |
parent | 53314380a21a394cf7f38420e65af5fc8dd3ed16 (diff) |
rd-user bug fixes
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/RHRD/rddb.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/RHRD/rddb.pm b/lib/RHRD/rddb.pm index 1e021ef..c535576 100755 --- a/lib/RHRD/rddb.pm +++ b/lib/RHRD/rddb.pm @@ -130,7 +130,7 @@ sub add_user my $sth = $dbh->prepare($sql) or return (undef, 'ERROR', "Database Error: " . $dbh->errstr); - my $cnt = $sth->execute($username, $token, $fullname) + my $cnt = $sth->execute($username, $fullname, $token) or return (undef, 'ERROR', "Database Error: " . $sth->errstr); $sth->finish(); |