mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix array
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ elseif (get_user_class() < $linkmanage_class)
|
||||
permissiondenied();
|
||||
else{
|
||||
if ($_GET['action'] == "del") {
|
||||
$id = $_GET['id'] ?? 0;
|
||||
$id = intval($_GET['id'] ?? 0);
|
||||
if (!$id) { header("Location: linksmanage.php"); die();}
|
||||
$result = sql_query ("SELECT * FROM links where id = '".$id."'");
|
||||
if ($row = mysql_fetch_array($result))
|
||||
|
||||
Reference in New Issue
Block a user