Fix of saving page

This commit is contained in:
Jenkings
2024-01-12 06:28:07 +00:00
parent 6695b6b86d
commit 9a2f536fac

View File

@@ -107,9 +107,9 @@ class Pages {
$this->title = htmlspecialchars(strip_tags($this->title));
$this->link = htmlspecialchars(strip_tags($this->link));
$stmt->bindParam(":t", $this->title);
$stmt->bindParam(":l", $this->link);
$stmt->bindParam(":c;", $this->content);
$stmt->bindParam("t", $this->title);
$stmt->bindParam("l", $this->link);
$stmt->bindParam("c", $this->content);
if($stmt->execute()){