summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.rubocop_todo.yml1
-rw-r--r--lib/redmine/export/pdf.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 717f39125..692d8b62a 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1178,7 +1178,6 @@ Style/LineEndConcatenation:
# Configuration parameters: IgnoredMethods.
Style/MethodCallWithoutArgsParentheses:
Exclude:
- - 'lib/redmine/export/pdf.rb'
- 'lib/redmine/helpers/gantt.rb'
- 'lib/redmine/scm/adapters/cvs_adapter.rb'
- 'lib/redmine/scm/adapters/filesystem_adapter.rb'
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index 987f2b989..c8189367b 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -127,7 +127,7 @@ module Redmine
RDMCell(0, 5, @footer_date, 0, 0, 'L')
end
set_x(-30)
- RDMCell(0, 5, get_alias_num_page() + '/' + get_alias_nb_pages(), 0, 0, 'C')
+ RDMCell(0, 5, get_alias_num_page + '/' + get_alias_nb_pages, 0, 0, 'C')
end
end