Allow to upload pictures up to the allowed system upload size

This commit is contained in:
Michael 2023-11-17 12:19:01 +00:00
parent 5cf71baf55
commit 170998da1a
3 changed files with 26 additions and 12 deletions

View file

@ -95,7 +95,7 @@ class Display extends BaseSettings
$user = User::getById($uid);
$theme = trim($request['theme']);
$mobile_theme = trim($request['mobile_theme']);
$mobile_theme = trim($request['mobile_theme'] ?? '');
$enable_smile = (bool)$request['enable_smile'];
$enable = (array)$request['enable'];
$bookmark = (array)$request['bookmark'];