summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Controller/LifespanController.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/Controller/LifespanController.php b/app/Controller/LifespanController.php
index 815663bbca..7b128ce975 100644
--- a/app/Controller/LifespanController.php
+++ b/app/Controller/LifespanController.php
@@ -122,14 +122,14 @@ class LifespanController extends PageController {
$filterPids = false;
// Request parameters
- $clear = Filter::postBool('clear');
- $newpid = Filter::post('newpid', WT_REGEX_XREF);
- $addfam = Filter::postBool('addFamily');
- $this->place = Filter::post('place');
- $this->beginYear = Filter::postInteger('beginYear', 0, PHP_INT_MAX, null);
- $this->endYear = Filter::postInteger('endYear', 0, PHP_INT_MAX, null);
- $this->calendar = Filter::post('calendar', null, $this->defaultCalendar);
- $this->strictDate = Filter::postBool('strictDate');
+ $clear = Filter::getBool('clear');
+ $newpid = Filter::get('newpid', WT_REGEX_XREF);
+ $addfam = Filter::getBool('addFamily');
+ $this->place = Filter::get('place');
+ $this->beginYear = Filter::getInteger('beginYear', 0, PHP_INT_MAX, null);
+ $this->endYear = Filter::getInteger('endYear', 0, PHP_INT_MAX, null);
+ $this->calendar = Filter::get('calendar', null, $this->defaultCalendar);
+ $this->strictDate = Filter::getBool('strictDate');
// Set up base color parameters
$this->colors['M'] = new ColorGenerator(240, self::SATURATION, self::LIGHTNESS, self::ALPHA, self::RANGE * -1);