commit 75fe181860fa9c0b73ea1781a965d0a6e9f717f4
parent e21a70d8f77d0a2706a19e27aaf930d6c61fb946
Author: MTRNord <mtrnord1@gmail.com>
Date: Sun, 23 Nov 2014 17:03:55 +0100
delete $read for a test
Diffstat:
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -52,7 +52,7 @@
$post_date = "Database error!";
$post_categrory = "Database error!";
}
- if ($read != 0 && $id < $post_id_clean){
+ if ($id < $post_id_clean){
read();
}
}
diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php
@@ -12,7 +12,6 @@
$id = $_GET["id"];
}
include('../../core/config/variables.config.php');
- $read = "0";
?>
<!DOCTYPE html>
<html lang="en">
@@ -87,7 +86,6 @@
$id = 1;
include('../../core/backend/blog/posts.php');
while ($x < $post_id_clean+1){
- $read = "1";
echo "<a href='index.php?id=$id' rel='bookmark'> $post_title </a>";
$x = $x+1;
$id = $id+1;