fix compatibility with php8

This commit is contained in:
xiaomlove
2020-12-29 03:02:34 +08:00
parent 32d47b66c9
commit fe7489ef51
33 changed files with 249 additions and 212 deletions

View File

@@ -7,7 +7,7 @@ if ($showextinfo['imdb'] == 'yes')
require_once("imdb/imdb.class.php");
loggedinorreturn();
$id = 0 + $_GET["id"];
$id = $_GET["id"] ?? 0;
int_check($id);
if (!isset($id) || !$id)