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