commit d9a74ce468f79d4e2585911e828ad4cc14994752
parent d44aa32078a95d72de3bc86cbb608806aa771082
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 13 Dec 2014 13:06:31 +0100
try to move variable from while
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -18,9 +18,13 @@
$empty_category = empty($_GET["category"]);
if (!$empty_id){
$id = $_GET["id"];
+ }else{
+ $id = 1;
}
if (!$empty_category){
$category = $_GET["category"];
+ }else{
+ $category = "";
}
include('../../core/config/variables.config.php');
@@ -138,7 +142,7 @@
<?php
$x = 1;
if ($empty_id && $empty_category){
- $id = 1;
+ #$id = 1;
include('../../core/backend/blog/posts.php');
while ($x < $post_id_clean+1){
include('../../core/config/connect.db.inc.php');