Skip to content

Commit 564f35f

Browse files
committed
Fix userlib access to class init flag
1 parent ae36d77 commit 564f35f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

cweb/elcurrencyweb/libraries/Userlib.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function initialize($user_id = NULL)
6565
*/
6666
public function getStatus()
6767
{
68-
if(!$this-usersetup)
68+
if(!$this->usersetup)
6969
$this->getUserDataAndSetup($this->user_id);
7070
return $this->status;
7171
}
@@ -77,7 +77,7 @@ public function getStatus()
7777
*/
7878
public function isActive()
7979
{
80-
if(!$this-usersetup)
80+
if(!$this->usersetup)
8181
$this->getUserDataAndSetup($this->user_id);
8282
return $this->active;
8383
}
@@ -89,7 +89,7 @@ public function isActive()
8989
*/
9090
public function getName()
9191
{
92-
if(!$this-usersetup)
92+
if(!$this->usersetup)
9393
$this->getUserDataAndSetup($this->user_id);
9494
return $this->username;
9595
}
@@ -111,7 +111,7 @@ public function getID()
111111
*/
112112
public function getBaseCurrency()
113113
{
114-
if(!$this-usersetup)
114+
if(!$this->usersetup)
115115
$this->getUserDataAndSetup($this->user_id);
116116
return $this->cur_monedas_base;
117117
}
@@ -123,7 +123,7 @@ public function getBaseCurrency()
123123
*/
124124
public function getDestCurrency()
125125
{
126-
if(!$this-usersetup)
126+
if(!$this->usersetup)
127127
$this->getUserDataAndSetup($this->user_id);
128128
return $this->cur_monedas_dest;
129129
}
@@ -136,7 +136,7 @@ public function getDestCurrency()
136136
*/
137137
public function getSessionFlag()
138138
{
139-
if(!$this-usersetup)
139+
if(!$this->usersetup)
140140
$this->getUserDataAndSetup($this->user_id);
141141
return $this->sessionflag;
142142
}
@@ -148,7 +148,7 @@ public function getSessionFlag()
148148
*/
149149
public function getSessionFicha()
150150
{
151-
if(!$this-usersetup)
151+
if(!$this->usersetup)
152152
$this->getUserDataAndSetup($this->user_id);
153153
return $this->sessionficha;
154154
}
@@ -160,7 +160,7 @@ public function getSessionFicha()
160160
*/
161161
public function getSessionUser()
162162
{
163-
if(!$this-usersetup)
163+
if(!$this->usersetup)
164164
$this->getUserDataAndSetup($this->user_id);
165165
return $this->sessionuser;
166166
}

0 commit comments

Comments
 (0)