فهرست منبع

Minor - Set template title - refs BT#12835

Angel Fernando Quiroz Campos 7 سال پیش
والد
کامیت
cee24a39bc
1فایلهای تغییر یافته به همراه1 افزوده شده و 3 حذف شده
  1. 1 3
      main/social/myfiles.php

+ 1 - 3
main/social/myfiles.php

@@ -98,9 +98,7 @@ if (api_get_setting('allow_social_tool') == 'true') {
     ];
 }
 
-$interbreadcrumb[] = ['url' => '#', 'name' => get_lang('MyFiles')];
-
-$tpl = new Template();
+$tpl = new Template(get_lang('MyFiles'));
 SocialManager::setSocialUserBlock($tpl, api_get_user_id(), 'myfiles');
 $editor = new \Chamilo\CoreBundle\Component\Editor\Editor();
 $template = $tpl->get_template($editor->getEditorStandAloneTemplate());