修改课程动态报错

This commit is contained in:
sw 2015-03-20 16:33:43 +08:00
parent b6b479f6f9
commit 1ab0215592
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ module Redmine
def event_url(options = {})
option = event_options[:url]
if option.is_a?(Proc)
option.call(self).merge(options)
option.call(self).merge(options) if option.call(self)
elsif option.is_a?(Hash)
option.merge(options)
elsif option.is_a?(Symbol)