commit a2196b3fe1bb440bbbbd9e19cfeaa32c7fa0cd6d
parent 37ab5111ed96850efe83c8dfa6b41f35e99b0b56
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 16:34:20 +0100
no change xD
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -28,7 +28,7 @@
global $id, $connection, $read, $post_id_clean;
global $post_id, $post_title, $post_text, $post_author, $post_date, $post_categrory;
if ($resultat = $connection->query('SELECT * FROM posts WHERE id LIKE '.$id)) {
- echo 'SELECT * FROM posts WHERE id LIKE '.$id;
+ //echo 'SELECT * FROM posts WHERE id LIKE '.$id;
//Put database data in variables
while($daten = $resultat->fetch_object() ){
//var_dump ($daten);
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -88,7 +88,7 @@
$read = "1";
include('../../core/backend/blog/posts.php');
while ($x < $post_id_clean){
- echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>";
+ echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>";
$x = $x+1;
$id = $id+1;
}