]> git.mxchange.org Git - friendica.git/commitdiff
Rename hide friends checkbox field variable
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 6 Feb 2020 02:37:58 +0000 (21:37 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 6 Feb 2020 02:37:58 +0000 (21:37 -0500)
src/Module/Settings/Profile/Index.php
view/templates/settings/profile/hide-friends.tpl

index ea9b41866a1831ea68b54fe9451d1a5e5f1d8756..ca3a28258ff5831cb88a817f93b28faf15d5133b 100644 (file)
@@ -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
index 853678d0f2cd61def0074f4148cca96721e8979e..8b10deb56a1d2b9952e2157192b7a67ddce62e66 100644 (file)
@@ -1,3 +1,3 @@
 <div id="profile-edit-hide-friends-wrapper">
-       {{include file="field_checkbox.tpl" field=$yesno}}
+       {{include file="field_checkbox.tpl" field=$hide_friends}}
 </div>