From: Hypolite Petovan Date: Thu, 6 Feb 2020 02:37:58 +0000 (-0500) Subject: Rename hide friends checkbox field variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=40db6baa6b1804ae0462259fec8d47aae353c4bc;p=friendica.git Rename hide friends checkbox field variable --- diff --git a/src/Module/Settings/Profile/Index.php b/src/Module/Settings/Profile/Index.php index ea9b41866a..ca3a28258f 100644 --- a/src/Module/Settings/Profile/Index.php +++ b/src/Module/Settings/Profile/Index.php @@ -215,7 +215,7 @@ class Index extends BaseSettings $opt_tpl = Renderer::getMarkupTemplate('settings/profile/hide-friends.tpl'); $hide_friends = Renderer::replaceMacros($opt_tpl, [ - '$yesno' => [ + '$hide_friends' => [ 'hide-friends', //Name DI::l10n()->t('Hide contacts and friends:'), //Label !!$profile['hide-friends'], //Value diff --git a/view/templates/settings/profile/hide-friends.tpl b/view/templates/settings/profile/hide-friends.tpl index 853678d0f2..8b10deb56a 100644 --- a/view/templates/settings/profile/hide-friends.tpl +++ b/view/templates/settings/profile/hide-friends.tpl @@ -1,3 +1,3 @@
- {{include file="field_checkbox.tpl" field=$yesno}} + {{include file="field_checkbox.tpl" field=$hide_friends}}