getPrivateConversation fully operationnal

This commit is contained in:
Pierre
2017-06-19 14:53:30 +02:00
parent faa59b4fc7
commit be91602277
3 changed files with 67 additions and 4 deletions

View File

@ -135,7 +135,7 @@ class conversations {
* @param Mixed $name Optionnal, the name of the conversation
* @return Integer 0 for a fail else the ID of the newly created conversation
*/
public function create($userID, $follow, array $usersList, $name){
public function create($userID, $follow, array $usersList, $name = ""){
$mainInformations = array(
"ID_utilisateurs" => $userID*1,