File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ public static function fromGlobals()
3535
3636 protected function _property ($ property , $ default = null )
3737 {
38- return isset ($ this ->_cookie [ $ property] ) ?
39- $ this ->_cookie [ $ property] : $ default ;
38+ return isset ($ this ->_cookie -> $ property ) ?
39+ $ this ->_cookie -> $ property : $ default ;
4040 }
4141
4242 public function isPresent ()
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ public static function cookieName()
1313
1414 public function getCustomerFid ($ default = null )
1515 {
16- return $ this ->_property ('customerFid ' , $ default );
16+ return $ this ->_property ('customer ' , $ default );
1717 }
1818
1919 public function getUserFid ($ default = null )
2020 {
21- return $ this ->_property ('userFid ' , $ default );
21+ return $ this ->_property ('user ' , $ default );
2222 }
2323
2424 public function getUsername ($ default = null )
You can’t perform that action at this time.
0 commit comments