commit 1167435fd70b548996424d1f96c8d5bac490b745
parent da21743e3c0268b72e37907ff2a5411d5b9b81d8
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 15:53:58 +0100
everything empty :O
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -69,7 +69,7 @@
global $post_id, $post_title, $post_text, $post_author, $post_date, $post_categrory;
if ($resultat = $connection->query('SELECT * FROM posts WHERE id LIKE '.$id)) {
while($daten = $resultat->fetch_object() ){
- $post_id = $daten->id;
+ $post_id_clean = $daten->id;
}
$resultat->close();
}
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -86,7 +86,7 @@
$x = 1;
if ($empty){
if (!$error = "1"){
- while ($x < $post_id){
+ while ($x < $post_id_clean){
$read = "1";
$id = 1;
echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>";