mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 15:37:57 +00:00
fix info hash validation on magnet edit #6
This commit is contained in:
parent
c5c941c407
commit
535378fa64
@ -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…
Reference in New Issue
Block a user