Skip to content

Commit

Permalink
fixes incorrect default value for modLTI createNewUser
Browse files Browse the repository at this point in the history
  • Loading branch information
iturgeon committed Dec 15, 2016
1 parent d6b2556 commit 0ea7e95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/classes/rocketD/auth/ModLTI.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function fetchUserByLogin($login)
}

// Make sure createNewUser uses the relatedAuthMod
public function createNewUser($userName, $fName, $lName, $mName, $email, $optionalVars=0)
public function createNewUser($userName, $fName, $lName, $mName, $email, $optionalVars=[])
{
$authMod = $this->getRelatedAuthMod();
return $authMod->createNewUser($userName, $fName, $lName, $mName, $email, $optionalVars);
Expand Down

0 comments on commit 0ea7e95

Please sign in to comment.