rpicms

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

commit f2699524d3c7a81e98e9af4073af309587754409
parent 9148016aba01032cf9821a95fd747e11789bec36
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 13:16:33 +0100

fix endless loop

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

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -83,11 +83,13 @@ <?php $x = 1; if ($empty){ + if ($post_title != "Database Error!"){ while (!empty($post_title)){ $id = $x; echo "<a href='index.php?id=$x' rel='bookmark'> $post_title </a>"; $x = $x+1; } + } } ?> </h1>