From 7fe908c50c8dbc5cc05f571dbe11d66141caacd4 Mon Sep 17 00:00:00 2001 From: Marius Cramer <m.cramer@pixcept.de> Date: Thu, 14 Nov 2013 09:01:22 -0500 Subject: [PATCH] Cleaning up code to match coding guidelines --- interface/web/help/faq_list.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface/web/help/faq_list.php b/interface/web/help/faq_list.php index 79e9b6f..2f48b4d 100644 --- a/interface/web/help/faq_list.php +++ b/interface/web/help/faq_list.php @@ -1,13 +1,13 @@ <?php -require_once('../../lib/config.inc.php'); -require_once('../../lib/app.inc.php'); +require_once '../../lib/config.inc.php'; +require_once '../../lib/app.inc.php'; // Path to the list definition file $list_def_file = 'list/faq_list.php'; // Check the module permissions -if(!stristr($_SESSION['s']['user']['modules'],'help')) { +if(!stristr($_SESSION['s']['user']['modules'], 'help')) { header('Location: ../index.php'); die(); } @@ -18,7 +18,7 @@ // Optional limit $hf_section = 0; if(isset($_GET['hfs_id'])) - $hf_section = preg_replace("/[^0-9]/","",$_GET['hfs_id']); + $hf_section = preg_replace("/[^0-9]/", "", $_GET['hfs_id']); // if section id is not specified in the url, choose the first existing section if(!$hf_section) -- Gitblit v1.9.1