Browse Source

Update thepiratebay.php

amogusussy 2 years ago
parent
commit
9c471f9c15
1 changed files with 2 additions and 2 deletions
  1. 2 2
      engines/bittorrent/thepiratebay.php

+ 2 - 2
engines/bittorrent/thepiratebay.php

@@ -26,8 +26,8 @@
                 array (
                     "size" => htmlspecialchars($size),
                     "name" => htmlspecialchars($name),
-                    "seeders" => intval(htmlspecialchars($seeders)),
-                    "leechers" => intval(htmlspecialchars($leechers)),
+                    "seeders" => (int) htmlspecialchars($seeders),
+                    "leechers" => (int) htmlspecialchars($leechers),
                     "magnet" => htmlspecialchars($magnet),
                     "source" => "thepiratebay.org"
                 )