cann't log in from user ldap on second time

Hello
I've got a problem with log in to Timesheet Next Gen 1.3.1.
When I log first time with ldap login aplication get from MS Active Directory first_name, last_name, email, username etc... password is null.

Next day, when i try to log with my login from AD i recive message

Can't perform query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM timesheet_user WHERE username='********'' at line 1

SELECT first_name, last_name, email_address, FROM timesheet_user WHERE username='********'

----------------
I just resolve it ;)

Comments

tommo:

This is an error in the SQL query (the trailing comma after email_adress). Look in class.AuthenticationManager.php around line 464.