Bugfix: Creating users

This commit is contained in:
wrongecho 2024-11-20 21:43:33 +00:00
parent c96833a977
commit a216f1bbf8
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ if (isset($_POST['edit_user'])) {
// Check for and process image/photo
$extended_alert_description = '';
if (isset($_FILES['file']['tmp_name'])) {\
if (isset($_FILES['file']['tmp_name'])) {
if ($new_file_name = checkFileUpload($_FILES['file'], array('jpg', 'jpeg', 'gif', 'png', 'webp'))) {
$file_tmp_path = $_FILES['file']['tmp_name'];