Skip to content

Commit

Permalink
[GT-183] Fix code climate issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Sae126V committed Sep 15, 2023
1 parent 5064e9d commit 72ae593
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htdocs/web_portal/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* @param string $encoding
* @return string
*/
function xssafe($data,$encoding='UTF-8')
function xssafe($data, $encoding = 'UTF-8')
{
//return htmlspecialchars($data,ENT_QUOTES | ENT_HTML401,$encoding);
return htmlspecialchars($data);
Expand Down Expand Up @@ -772,7 +772,7 @@ function Get_Directory_Contents($Directory_Name)

/* Draws a standard GOCDB layout with the string $Page_Content in the
* right frame */
function Draw_Standard_Page($Page_Content, $title=null)
function Draw_Standard_Page($Page_Content, $title = null)
{
require_once __DIR__
. '/components/Draw_Components/draw_page_components.php';
Expand All @@ -788,7 +788,7 @@ function Draw_Standard_Page($Page_Content, $title=null)

/* Given the name of a file in the view directory, include it
* as the body of a standard GOCDB page */
function show_view($view, $params=null, $title=null, $rawOutput=null)
function show_view($view, $params = null, $title = null, $rawOutput = null)
{
if ($rawOutput == true) {
require_once __DIR__ . '/views/' . $view;
Expand Down

0 comments on commit 72ae593

Please sign in to comment.