From 54b14ebfc509e5d5246f5235da964a9f02cfa0ab Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Mon, 19 Jan 2015 10:42:52 +0000 Subject: Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php | 4 +++- modules_v3/relatives/module.php | 9 +++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'modules_v3') diff --git a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php index 5f7eea3461..2ae8e466a6 100644 --- a/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php +++ b/modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php @@ -27,7 +27,9 @@ $newgedrec = "0 @XREF@ NOTE\n"; -if (isset($_REQUEST['EVEN'])) $EVEN = $_REQUEST['EVEN']; +if (isset($_REQUEST['EVEN'])) { + $EVEN = $_REQUEST['EVEN']; +} if (!empty($EVEN) && count($EVEN) > 0) { $newgedrec .= "1 DATA\n"; $newgedrec .= "2 EVEN " . implode(",", $EVEN) . "\n"; diff --git a/modules_v3/relatives/module.php b/modules_v3/relatives/module.php index a15c24663b..ef40d7f864 100644 --- a/modules_v3/relatives/module.php +++ b/modules_v3/relatives/module.php @@ -282,7 +282,10 @@ class relatives_WT_Module extends WT_Module implements WT_Module_Tab { public function getTabContent() { global $SHOW_AGE_DIFF, $show_full, $controller; - if (isset($show_full)) $saved_show_full = $show_full; // We always want to see full details here + if (isset($show_full)) { + $saved_show_full = $show_full; + } + // We always want to see full details here $show_full = 1; ob_start(); @@ -382,7 +385,9 @@ class relatives_WT_Module extends WT_Module implements WT_Module_Tab { getName() . '_content">' . ob_get_clean() . ''; } -- cgit v1.3