fix pagination bug
This commit is contained in:
parent
3c9f88c767
commit
1f0f7708c6
|
@ -168,7 +168,7 @@ module Redmine
|
|||
if block_given?
|
||||
yield text, parameters, options
|
||||
else
|
||||
if args[2][:path].nil?
|
||||
if args[2].nil? || args[2][:path].nil?
|
||||
link_to text, params.merge(parameters), options
|
||||
else
|
||||
page = "&page=" + parameters[:page].to_s unless parameters[:page].nil?
|
||||
|
|
Loading…
Reference in New Issue