summaryrefslogtreecommitdiff
path: root/app/Controller/FamilyBookController.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2017-01-13 07:36:26 +0000
committerGreg Roach <fisharebest@gmail.com>2017-01-13 07:53:42 +0000
commit564ae2d7821e40d23a34164b35b213506f3b0344 (patch)
tree22b8fc74555f418dbe688e14a44c76aff940c0ba /app/Controller/FamilyBookController.php
parent0d4fbeaea5cc982a07c00bc5c8fb2ea9f122c716 (diff)
downloadwebtrees-564ae2d7821e40d23a34164b35b213506f3b0344.tar.gz
webtrees-564ae2d7821e40d23a34164b35b213506f3b0344.tar.bz2
webtrees-564ae2d7821e40d23a34164b35b213506f3b0344.zip
Merge minor changes from develop branch
Diffstat (limited to 'app/Controller/FamilyBookController.php')
-rw-r--r--app/Controller/FamilyBookController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/FamilyBookController.php b/app/Controller/FamilyBookController.php
index be0de0b542..48583c6fbd 100644
--- a/app/Controller/FamilyBookController.php
+++ b/app/Controller/FamilyBookController.php
@@ -49,7 +49,7 @@ class FamilyBookController extends ChartController {
parent::__construct();
// Extract the request parameters
- $this->show_spouse = Filter::getInteger('show_spouse', 0, 1);
+ $this->show_spouse = Filter::get('show_spouse', '[01]', '0');
$this->descent = Filter::getInteger('descent', 0, 9, 5);
$this->generations = Filter::getInteger('generations', 2, $WT_TREE->getPreference('MAX_DESCENDANCY_GENERATIONS'), 2);