Fixing upload
This commit is contained in:
parent
598a09fc6f
commit
ebdfe388de
|
@ -56,7 +56,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$user = DBA::selectFirst('owner-view', ['id', 'uid', 'nickname', 'page-flags'], ['nickname' => BaseApi::getCurrentUserID(), 'blocked' => false]);
|
$user = DBA::selectFirst('owner-view', ['id', 'uid', 'nickname', 'page-flags'], ['uid' => BaseApi::getCurrentUserID(), 'blocked' => false]);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if ($r_json) {
|
if ($r_json) {
|
||||||
|
|
Loading…
Reference in a new issue