summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-03-02 21:58:30 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-03-02 21:58:30 +0000
commitf7721877f3453f5dea6988d3f759a1829884db89 (patch)
tree4f018d1d2999b2a84be3dfd6e5d2b6faa72bfbe4
parent8c6b05a4f3e7b566f97a0ed28fd663dfabe21c68 (diff)
downloadwebtrees-f7721877f3453f5dea6988d3f759a1829884db89.tar.gz
webtrees-f7721877f3453f5dea6988d3f759a1829884db89.tar.bz2
webtrees-f7721877f3453f5dea6988d3f759a1829884db89.zip
Improve behaviour when placelist module is disabled
-rw-r--r--app/Place.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Place.php b/app/Place.php
index 861f33c7a5..7b02eab256 100644
--- a/app/Place.php
+++ b/app/Place.php
@@ -172,8 +172,8 @@ class Place
'ged' => $this->tree->name(),
]);
} else {
- //TODO: should we be allowed to return null here?
- return \Fisharebest\Webtrees\Html::url('index.php', []);
+ // The place-list module is disabled...
+ return '#';
}
}