mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update dl.php
This commit is contained in:
parent
00f9fd0a10
commit
376223daaa
2
dl.php
2
dl.php
@ -209,7 +209,7 @@ if (!in_array($attachment['extension'], $allowed_extensions))
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Getting download mode by extension
|
// Getting download mode by extension
|
||||||
if (!$download_mode = intval($download_mode[$attachment['extension']]))
|
if (!$download_mode = intval(@$download_mode[$attachment['extension']]))
|
||||||
{
|
{
|
||||||
bb_die('Incorrect download mode');
|
bb_die('Incorrect download mode');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user