Merge 02bc73805f
into 64b0f60368
This commit is contained in:
commit
0cb1f632a1
|
@ -25,6 +25,10 @@ class User
|
|||
*/
|
||||
public function __call($method, $params = array())
|
||||
{
|
||||
if (empty($_SESSION['phpci_user'])) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$user = $_SESSION['phpci_user'];
|
||||
|
||||
if (!is_object($user)) {
|
||||
|
|
Loading…
Reference in a new issue