Skip to content

Commit 9531caf

Browse files
committed
Minor - Flint fixes
1 parent a7decb5 commit 9531caf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/fileUpload.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,10 @@ function handle_uploaded_document(
278278
'error'
279279
)
280280
);
281+
281282
return false;
282283
}
283284

284-
285285
// If the want to unzip, check if the file has a .zip (or ZIP,Zip,ZiP,...) extension
286286
if ($unzip == 1 && preg_match('/.zip$/', strtolower($uploadedFile['name']))) {
287287
return unzip_uploaded_document(

0 commit comments

Comments
 (0)