We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e611b26 commit ff69cc4Copy full SHA for ff69cc4
src/User.php
@@ -1070,7 +1070,7 @@ public function prepareInputForUpdate($input)
1070
$extension = in_array($extension, ['png', 'gif']) ? 'png' : 'jpg';
1071
1072
if (!file_exists(GLPI_PICTURE_DIR . "/$sub")) {
1073
- @mkdir(GLPI_PICTURE_DIR . "/$sub");
+ mkdir(GLPI_PICTURE_DIR . "/$sub");
1074
}
1075
$picture_path = GLPI_PICTURE_DIR . "/{$sub}/{$filename}.{$extension}";
1076
self::dropPictureFiles("{$sub}/{$filename}.{$extension}");
0 commit comments