summary refs log tree commit diff stats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rwxr-xr-xpages/comic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/comic.php b/pages/comic.php index 28a420e..620a038 100755 --- a/pages/comic.php +++ b/pages/comic.php
@@ -1,6 +1,6 @@
1<?php 1<?php
2 2
3if (isset($_GET['id'])) 3if (isset($_GET['id']) && is_numeric($_GET['id']))
4{ 4{
5 $getcomic = "SELECT * FROM comics WHERE comic_id = " . $_GET['id'] . " AND status = \"publish\""; 5 $getcomic = "SELECT * FROM comics WHERE comic_id = " . $_GET['id'] . " AND status = \"publish\"";
6} else { 6} else {