Fixing upload

This commit is contained in:
Michael 2021-11-17 22:37:02 +00:00
parent 598a09fc6f
commit ebdfe388de

View file

@ -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) {