Fixed double quotes's bug
parent
c6321c7d34
commit
0e7b1aa3a7
|
|
@ -236,10 +236,11 @@ if ($user->isAdmin()) {
|
|||
}
|
||||
|
||||
$date = ($isEdition) ? strtotime($post["date"]) : time();
|
||||
$title = ($isEdition) ? stripslashes($post["title"]) : "";
|
||||
$title = ($isEdition) ? htmlentities(stripslashes($post["title"])) : "";
|
||||
$body = ($isEdition) ? stripslashes($post["description"]) : "";
|
||||
$url = ($isEdition) ? $post["url"] : "";
|
||||
|
||||
|
||||
switch ($_GET["new"]) {
|
||||
case "post":
|
||||
$input = array("{type}", "{date}", "{id_user}", "{editTitle}", "{editBody}");
|
||||
|
|
|
|||
Loading…
Reference in New Issue