Skip to content

Commit 72ae593

Browse files
committed
[GT-183] Fix code climate issues
1 parent 5064e9d commit 72ae593

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

htdocs/web_portal/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* @param string $encoding
3939
* @return string
4040
*/
41-
function xssafe($data,$encoding='UTF-8')
41+
function xssafe($data, $encoding = 'UTF-8')
4242
{
4343
//return htmlspecialchars($data,ENT_QUOTES | ENT_HTML401,$encoding);
4444
return htmlspecialchars($data);
@@ -772,7 +772,7 @@ function Get_Directory_Contents($Directory_Name)
772772

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

789789
/* Given the name of a file in the view directory, include it
790790
* as the body of a standard GOCDB page */
791-
function show_view($view, $params=null, $title=null, $rawOutput=null)
791+
function show_view($view, $params = null, $title = null, $rawOutput = null)
792792
{
793793
if ($rawOutput == true) {
794794
require_once __DIR__ . '/views/' . $view;

0 commit comments

Comments
 (0)