[ADMINUSER] User not editable if not birthdate timestamp in database #68
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As admin, user is not editable if birthday timestamp is not set in database. Error is :
PHP Fatal error: Uncaught Error: Call to a member function format() on bool in [...]/lib/object_coordination/adminuser/adminuser.php:630
Best way to fix issue is to make a check on existant birthday timestamp in database.
In fact, best way was to define a default value to 0 (01-01-1970 timestamp) in database and set the 0 value in the user class construct.
Issue fixed.
Pushed to master.