diff options
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index 20eccef71..25ff5d099 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -182,7 +182,7 @@ class TimelogController < ApplicationController time_entry.safe_attributes = attributes call_hook(:controller_time_entries_bulk_edit_before_save, { :params => params, :time_entry => time_entry }) unless time_entry.save - logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info + logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info? # Keep unsaved time_entry ids to display them in flash error unsaved_time_entry_ids << time_entry.id end |