fix compatibility with php72

This commit is contained in:
xiaomlove
2021-01-04 20:47:22 +08:00
parent d8a3f5270f
commit 752e26000c
6 changed files with 40 additions and 34 deletions

View File

@@ -474,7 +474,7 @@ if ($action == "viewtopic")
$topicid = $_GET["topicid"] ?? 0;
int_check($topicid,true);
$page = $_GET["page"] ?? '';
$page = $_GET["page"] ?? 0;
$authorid = $_GET["authorid"] ?? 0;
if ($authorid)
{