Fixed incorrect signature

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-20 06:05:01 +01:00
parent 736d4cc59a
commit ca399794c3

View file

@ -422,9 +422,8 @@ class SettingsController extends Controller
// Email logo upload
$setting = $request->handleImages($setting, 600, 'email_logo', '', 'email_logo');
if ($request->input('clear_email_logo') == '1') {
$setting = $request->deleteExistingImage($setting, 'email_logo', 'email_logo');
$setting = $request->deleteExistingImage($setting, '', 'email_logo');
$setting->email_logo = null;
// If they are uploading an image, validate it and upload it
}
// Label logo upload