summaryrefslogtreecommitdiff
path: root/modules_v3
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-19 10:42:52 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-19 10:42:52 +0000
commit54b14ebfc509e5d5246f5235da964a9f02cfa0ab (patch)
tree96efbb78b777bad84990f6ca63b1c72cafba358f /modules_v3
parentd9a5ef4dfb5152084ada3094727a1fe21a5fbbec (diff)
downloadwebtrees-54b14ebfc509e5d5246f5235da964a9f02cfa0ab.tar.gz
webtrees-54b14ebfc509e5d5246f5235da964a9f02cfa0ab.tar.bz2
webtrees-54b14ebfc509e5d5246f5235da964a9f02cfa0ab.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'modules_v3')
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/addnoteaction_assisted.php4
-rw-r--r--modules_v3/relatives/module.php9
2 files changed, 10 insertions, 3 deletions
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 {
<?php
unset($show_full);
- if (isset($saved_show_full)) $show_full = $saved_show_full;
+ if (isset($saved_show_full)) {
+ $show_full = $saved_show_full;
+ }
return '<div id="' . $this->getName() . '_content">' . ob_get_clean() . '</div>';
}