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'] != ''){
|
if (isset($obj['user']) && $obj['user'] != ''){
|
||||||
//user at home
|
//user at home
|
||||||
$user = UserManager::getUser($obj['user']);
|
$user = UserManager::getUser($obj['user']);
|
||||||
$userAtHome = $user['atHome'];
|
$userAtHome = $user['at_home'];
|
||||||
if (!empty($user)) {
|
if (!empty($user)) {
|
||||||
$userId = $user['user_id'];
|
$userId = $user['user_id'];
|
||||||
$atHome = $obj['atHome'];
|
$atHome = $obj['atHome'];
|
||||||
|
Loading…
Reference in New Issue
Block a user