فهرست منبع

Removed duplicated get_lang for the notebook DT#5496

Arthur Portugal 15 سال پیش
والد
کامیت
c354130aa1
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      main/notebook/index.php

+ 2 - 2
main/notebook/index.php

@@ -36,12 +36,12 @@ event_access_tool(TOOL_NOTEBOOK);
 // tool name
 if ( isset($_GET['action']) && $_GET['action'] == 'addnote')
 {
-	$tool = get_lang('NoteAddNew');
+	$tool = 'NoteAddNew';
 	$interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook'));
 }
 if ( isset($_GET['action']) && $_GET['action'] == 'editnote')
 {
-	$tool = get_lang('ModifyNote');
+	$tool = 'ModifyNote';
 	$interbreadcrumb[] = array ("url"=>"index.php", "name"=> get_lang('Notebook'));
 }