keep some default value be integer 2

This commit is contained in:
xiaomlove
2021-01-06 02:19:03 +08:00
parent 28ab56fe70
commit 38dae7c068
25 changed files with 100 additions and 100 deletions

View File

@@ -151,7 +151,7 @@ $nr = mysql_num_rows($res);
<?php if ($act == "editforum") {
//EDIT PAGE FOR THE FORUMS
$id = $_GET["id"] ?? 0;
$id = intval($_GET["id"] ?? 0);
$result = sql_query ("SELECT * FROM overforums where id = '$id'");
if ($row = mysql_fetch_array($result)) {