API at home fix
This commit is contained in:
parent
3feeaab086
commit
b2a8734ed3
2
api.php
2
api.php
@ -49,7 +49,7 @@ if (API_DEBUGMOD == 1) {
|
||||
if (isset($obj['user']) && $obj['user'] != ''){
|
||||
//user at home
|
||||
$user = UserManager::getUser($obj['user']);
|
||||
$userAtHome = $user['atHome'];
|
||||
$userAtHome = $user['at_home'];
|
||||
if (!empty($user)) {
|
||||
$userId = $user['user_id'];
|
||||
$atHome = $obj['atHome'];
|
||||
|
Loading…
Reference in New Issue
Block a user