mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
fix info hash validation on magnet edit #6
This commit is contained in:
parent
c5c941c407
commit
535378fa64
1 changed files with 2 additions and 2 deletions
|
|
@ -276,7 +276,7 @@ else {
|
|||
{
|
||||
case 1:
|
||||
|
||||
if (!empty($value))
|
||||
if (!empty($value) && Yggverse\Parser\Magnet::isXTv1($value))
|
||||
{
|
||||
$exist = false;
|
||||
|
||||
|
|
@ -306,7 +306,7 @@ else {
|
|||
|
||||
case 2:
|
||||
|
||||
if (!empty($value))
|
||||
if (!empty($value) && Yggverse\Parser\Magnet::isXTv2($value))
|
||||
{
|
||||
$exist = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue