[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can't Save Preferences
- Subject: Re: Can't Save Preferences
- From: Chris Travers <..hidden..>
- Date: Wed, 20 Apr 2011 11:51:05 -0700
Hi;
Having looked at it, your sense here appears to be correct. Try the
attached patch and let me know how it works for you in terms of:
1) Users already existing that you re-save in the admin.pl interface and
2) New users you create.
This is a trivial change and I have no problem committing it once this
is validated on your side.
Best Wishes,
Chris Travers
Index: LedgerSMB/User.pm
===================================================================
--- LedgerSMB/User.pm (revision 3117)
+++ LedgerSMB/User.pm (working copy)
@@ -817,7 +817,7 @@
# add login to employee table if it does not exist
my $login = $self->{login};
- $login =~ s/@.*//;
+ #$login =~ s/@.*//;
my $sth = $dbh->prepare("SELECT id FROM employee WHERE login = ?;");
$sth->execute($login);