SQLql injection patch by Pedro Laguna

master
pecesama 2007-11-07 18:13:23 +00:00
parent 1b8546078a
commit 58d6c6b442
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ $template = new plantillas($conf->template);
if (isset($_GET["post"])) { if (isset($_GET["post"])) {
$id_post = $_GET["post"]; $id_post = $_GET["post"];
if (!is_numeric($id_post) && $id_post < 1 ){ if (!is_numeric($id_post) || $id_post < 1 ){
header("Location: index.php"); header("Location: index.php");
} }
} else { } else {