commit 3786cb9f63623930df94956e6352ae8a28cadbd4
parent a2aa3d19a90269b1be198979053bcf2804e5123d
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 14:23:00 +0100
trtry to fix post_title
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -22,7 +22,9 @@
# $post_categrory = "bug?";
#}else{
//Check if Data in it
+ function read()
if ($resultat = $connection->query('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() ){
$post_id = $daten->id;
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -92,7 +92,9 @@
}else{
echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>";
}
- }
+ }else{
+ echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>";
+ }
?>
</h1>
<div>