commit c0bf7cc43413702b6224c09c71744824b6c7bed5
parent 412bd7553417d3dd751652fb6af45c77ccf6a1fd
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 16:03:33 +0100
move $read in index.php
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -73,8 +73,10 @@
}
$resultat->close();
}
+ if ($read != 0){
read();
alles();
+ }
}
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -85,8 +85,8 @@
<?php
$x = 1;
if ($empty){
+ $read = "1";
while ($x < $post_id_clean){
- $read = "1";
$id = $x;
echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>";
$x = $x+1;