Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a typo in strUsername

  • Loading branch information...
commit 14082a5fb4e6122bf7fc7351c2448828842bdee7 1 parent 4b69a35
@JonTheNiceGuy JonTheNiceGuy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/Object/User.php
View
2  classes/Object/User.php
@@ -233,7 +233,7 @@ function __construct($isCreationAction = false, $strCodeOnly = false)
$objUserAuth = new Object_Userauth(true, $strCodeOnly);
$objRequest = Container_Request::getRequest();
$arrSession = $objRequest->get_arrSession();
- if ($objRequest->get_strUsername != '') {
+ if ($objRequest->get_strUsername() != '') {
$this->setKey('strUser', $objRequest->get_strUsername());
} elseif (isset($arrSession['OPENID_AUTH']['fullname']) && $arrSession['OPENID_AUTH']['fullname'] != '') {
$this->setKey('strUser', $arrSession['OPENID_AUTH']['fullname']);
Please sign in to comment.
Something went wrong with that request. Please try again.