mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
keep some default value be integer 2
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user