warning fix

This commit is contained in:
xiaomlove
2025-10-01 12:01:53 +07:00
parent e085d52679
commit 612e83744f
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -43,8 +43,8 @@ $url = parse_imdb_id($_POST['url'] ?? '');
$nfo = '';
if ($enablenfo_main=='yes'){
$nfofile = $_FILES['nfo'];
if ($nfofile['name'] != '') {
$nfofile = $_FILES['nfo'] ?? [];
if (!empty($nfofile['name'])) {
if ($nfofile['size'] == 0)
bark($lang_takeupload['std_zero_byte_nfo']);