summaryrefslogtreecommitdiff
path: root/app/Functions
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-10-29 11:30:19 +0000
committerGreg Roach <fisharebest@gmail.com>2015-10-29 11:30:19 +0000
commit0b18a98d2ceaeebc288d72a27a147055f7d6115d (patch)
tree39afe619db9d94555174e67a3e069666f3102d38 /app/Functions
parenta719fb9d1523c1b3d84e910c14e0ce666fd566b3 (diff)
downloadwebtrees-0b18a98d2ceaeebc288d72a27a147055f7d6115d.tar.gz
webtrees-0b18a98d2ceaeebc288d72a27a147055f7d6115d.tar.bz2
webtrees-0b18a98d2ceaeebc288d72a27a147055f7d6115d.zip
Code-style
Diffstat (limited to 'app/Functions')
-rw-r--r--app/Functions/FunctionsEdit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Functions/FunctionsEdit.php b/app/Functions/FunctionsEdit.php
index 871d7846b7..50ee0a9c46 100644
--- a/app/Functions/FunctionsEdit.php
+++ b/app/Functions/FunctionsEdit.php
@@ -1029,8 +1029,8 @@ class FunctionsEdit {
foreach ($census_places as $census_place) {
$options .= '<option value=""></option>';
foreach ($census_place->allCensusDates() as $census) {
- $date = new Date($census->censusDate());
- $year = $date->display(false, '%Y', false);
+ $date = new Date($census->censusDate());
+ $year = $date->display(false, '%Y', false);
$place_hierarchy = explode(', ', $census->censusPlace());
$options .= '<option value="' . $census->censusDate() . '" data-place="' . $census->censusPlace() . '" data-census="' . get_class($census) . '">' . $place_hierarchy[0] . ' ' . $year . '</option>';
}