rpicms

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

commit 094778795ca6117a6dffd342ca1e5724a86ceb1a
parent 11a6eaf5f6faeaa95343f7d54825b72cd2a49745
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 23 Nov 2014 12:30:03 +0100

add if argument

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

diff --git a/themes/jumbotron/index.php b/themes/jumbotron/index.php @@ -7,7 +7,9 @@ # include required files # ########################## $empty = empty($_GET["id"]); - $id = $_GET["id"]; + if (!$empty){ + $id = $_GET["id"]; + } include('../../core/backend/blog/posts.php'); include('../../core/config/variables.config.php') ?>