Skip to content

Commit 190df9d

Browse files
committed
fix try catch move_uploaded_file to not use @
1 parent 31612d3 commit 190df9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/HTTP/Files/UploadedFile.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function move(string $targetPath, string $name = null, bool $overwrite =
172172

173173
try
174174
{
175-
@move_uploaded_file($this->path, $destination);
175+
move_uploaded_file($this->path, $destination);
176176
}
177177
catch (\Exception $e)
178178
{

0 commit comments

Comments
 (0)