Fix of saving page
This commit is contained in:
@@ -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()){
|
||||
|
||||
Reference in New Issue
Block a user