rpicms

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

commit a7fab69d6e5830b227f31cb010662b7780aff989
parent 5d5e64f503b3bf54c0bba8aa804762ba55d7b821
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 11:22:53 +0100

try to fix "Undefined offset: 0" in jumbotron

Diffstat:
Mthemes/jumbotron/index.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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