diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-11-01 19:06:38 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-11-01 19:06:38 +0000 |
| commit | cd49476113f9d5da9160131d6707b5aebcaf2d20 (patch) | |
| tree | d5fbe4504c79bc24d0fbe7daea0575104e434f76 /resources | |
| parent | 5f58d1fd8b8c5f41b8c423f85b1b514eb2b3e5fb (diff) | |
| download | webtrees-cd49476113f9d5da9160131d6707b5aebcaf2d20.tar.gz webtrees-cd49476113f9d5da9160131d6707b5aebcaf2d20.tar.bz2 webtrees-cd49476113f9d5da9160131d6707b5aebcaf2d20.zip | |
Undefined variable
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/admin/trees-privacy.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/views/admin/trees-privacy.phtml b/resources/views/admin/trees-privacy.phtml index e9ef138ca2..081a51bb89 100644 --- a/resources/views/admin/trees-privacy.phtml +++ b/resources/views/admin/trees-privacy.phtml @@ -244,12 +244,12 @@ <?php endif ?> </td> <td> - <?php if ($privacy_restriction->tag_label) : ?> - <?= $privacy_restriction->tag_label ?> - <?php else : ?> + <?php if ($privacy_restriction->tag_label === '') : ?> <div class="text-muted"> <?= I18N::translate('All facts and events') ?> </div> + <?php else : ?> + <?= $privacy_restriction->tag_label ?> <?php endif ?> </td> <td> |
