diff --git a/admin/api.php b/admin/api.php index 06f4950..4962630 100644 --- a/admin/api.php +++ b/admin/api.php @@ -81,7 +81,7 @@ if (!empty($action) && $_SESSION["password"] == $config["admin_pwd"]){ $stmt9 = $mysqli->prepare("UPDATE Links SET `LinkID` = ?, `ContentID` = ?, `Nickname` = ? WHERE `LinkID` = ?;"); $stmt9->bind_param('ssss', $_POST["id"], $_POST["contentid"], $_POST["nickname"], $_POST["idwhere"]); $stmt9->execute(); - $stmt8->store_result(); + $stmt9->store_result(); } if ($action == "setcontent" && !empty($_POST["id"]) && !empty($_POST["content"]) && !empty($_POST["idwhere"])){