Skip to content

Commit

Permalink
Modify code. (Rereted to #1077)
Browse files Browse the repository at this point in the history
  • Loading branch information
akiko-pusu committed Jul 4, 2012
1 parent 3ddbcb2 commit 456e78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/settings_controller_patch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def plugin_with_banner_date_validation
# TODO:
# Ref. https://github.com/akiko-pusu/redmine_banner/issues/11
# Logging when Argument Error
logger.warn "Redmine Banner Warning: #{ex} / Invalid date setting / From #{@settings['start_ymd']} to #{@settings['end_ymd']}. Reset to current datetime. "if logger
logger.warn "Redmine Banner Warning: #{ex} / Invalid date setting / From #{@settings['start_ymd']} to #{@settings['end_ymd']}. Reset to current datetime. " if logger
@start_datetime = current_time
@end_datetime = current_time
@settings['use_timer'] = "false"
Expand Down

0 comments on commit 456e78f

Please sign in to comment.