rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit baf02cb604b82a456fe227ccbf86a9af516620df
parent 45e4cfed3080602a63ec4c5bd2a7d41ed440026b
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 10:59:10 +0100

try to fix wrong database (posts) printing

Diffstat:
Mthemes/jumbotron/index.php | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -77,7 +77,11 @@ <div class="container"> <h1> <?php + $x = 0; + while ($x < $post_id){ echo "<a href='index.php?id=$post_id' rel='bookmark'> $post_title </a>"; + $x = $x + 1; + } ?> </h1> <div>