Index: COPYRIGHT =================================================================== --- COPYRIGHT (revision 14293) +++ COPYRIGHT (working copy) @@ -18,4 +18,4 @@ A full text version of the other licenses that In-Portal includes can be found in LICENSES file. -Any questions can emailed to license@in-portal.com \ No newline at end of file +Any questions can be emailed to license@in-portal.com \ No newline at end of file Index: core/units/helpers/user_helper.php =================================================================== --- core/units/helpers/user_helper.php (revision 14293) +++ core/units/helpers/user_helper.php (working copy) @@ -29,11 +29,11 @@ * @param string $username * @param string $password * @param bool $dry_run - * @param bool $remeber_login + * @param bool $remember_login * @param string $remember_login_cookie * @return int */ - function loginUser($username, $password, $dry_run = false, $remeber_login = false, $remember_login_cookie = '') + function loginUser($username, $password, $dry_run = false, $remember_login = false, $remember_login_cookie = '') { if (!isset($this->event)) { $this->event = new kEvent('u:OnLogin'); @@ -103,7 +103,7 @@ if (!$dry_run) { $this->loginUserById($user_id, $remember_login_cookie); - if ($remeber_login) { + if ($remember_login) { // remember username & password when "Remember Login" checkbox us checked (when user is using login form on Front-End) $remember_login_cookie = $username . '|' . md5($password); $this->Application->Session->SetCookie('remember_login', $remember_login_cookie, strtotime('+1 month'));