Fix issue

This commit is contained in:
Pierre 2018-05-05 11:26:06 +02:00
parent d8bb0570b1
commit ffdfba742d

View File

@ -422,7 +422,7 @@ class UserComponent {
$user->set_friendListPublic($entry['liste_amis_publique'] == 1); $user->set_friendListPublic($entry['liste_amis_publique'] == 1);
$user->set_personnalWebsite($entry['site_web']); $user->set_personnalWebsite($entry['site_web']);
$user->set_publicNote($entry['public_note']); $user->set_publicNote($entry['public_note'] == null ? "" : $entry['public_note']);
$user->set_disallowComments($entry['bloquecommentaire'] == 1); $user->set_disallowComments($entry['bloquecommentaire'] == 1);
$user->set_allowPostFromFriends($entry['autoriser_post_amis'] == 1); $user->set_allowPostFromFriends($entry['autoriser_post_amis'] == 1);
$user->set_creation_time(strtotime($entry['date_creation'])); $user->set_creation_time(strtotime($entry['date_creation']));