diff options
| author | ilotterytea <iltsu@alright.party> | 2025-03-25 14:46:33 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-03-25 14:46:33 +0500 |
| commit | 10dcee56bdde2cb0369141fc60e65257c63822a2 (patch) | |
| tree | 2e422d3da59022d145ffcce92f942213182d9312 /public | |
| parent | e4bfeb1143017b64162ebb8cb751a85605ff4cf3 (diff) | |
fix: url
Diffstat (limited to 'public')
| -rw-r--r-- | public/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/upload.php b/public/upload.php index 2fd7c67..52e59b7 100644 --- a/public/upload.php +++ b/public/upload.php @@ -82,7 +82,7 @@ try { $file_id = generate_random_char_sequence(FILE_ID_CHARACTERS, FILE_ID_LENGTH); $file_data['id'] = $file_id; - if (isset($url)) { + if (isset($url) && !empty($url)) { $result = 0; $output = []; |
