Permalink
Browse files

Fix a typo in strUsername

  • Loading branch information...
1 parent 4b69a35 commit 14082a5fb4e6122bf7fc7351c2448828842bdee7 @JonTheNiceGuy JonTheNiceGuy committed Aug 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 classes/Object/User.php
View
@@ -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']);

0 comments on commit 14082a5

Please sign in to comment.