If i will editing an user, i got a DB Error
Bad SQL Query: UPDATE 4images_users SET user_level = 2, user_name = 'bbb', user_email = 'bbb@test.com', user_showemail = 1, user_allowemails = 1, user_invisible = 0, user_joindate = UNIX_TIMESTAMP('2006-03-15 19:53'), user_lastaction = UNIX_TIMESTAMP('2006-03-15 21:46'), user_homepage = '', user_icq = '', downloaded_image_ids = '34 31 32 2', download_lastaction = '2006-03-15 01:20' WHERE user_id = 6
If the download_transaction field is "1" or above (only a number), the user will be edited correctly.
I'm not a php specialist... i was searching in the users.php and found the $sql = "UPDATE ".USERS_TABLE." with ...".$additional_sql." at the end of the SET Command. Could it be, that in the "$additional_sql" the UNIX_TIMESTAMP ist missing???