@@ -182,7 +182,7 class TimelogController < ApplicationController | |||
|
182 | 182 | time_entry.safe_attributes = attributes |
|
183 | 183 | call_hook(:controller_time_entries_bulk_edit_before_save, { :params => params, :time_entry => time_entry }) |
|
184 | 184 | unless time_entry.save |
|
185 | logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info | |
|
185 | logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info? | |
|
186 | 186 | # Keep unsaved time_entry ids to display them in flash error |
|
187 | 187 | unsaved_time_entry_ids << time_entry.id |
|
188 | 188 | end |
@@ -904,7 +904,7 class Project < ActiveRecord::Base | |||
|
904 | 904 | |
|
905 | 905 | self.issues << new_issue |
|
906 | 906 | if new_issue.new_record? |
|
907 | logger.info "Project#copy_issues: issue ##{issue.id} could not be copied: #{new_issue.errors.full_messages}" if logger && logger.info | |
|
907 | logger.info "Project#copy_issues: issue ##{issue.id} could not be copied: #{new_issue.errors.full_messages}" if logger && logger.info? | |
|
908 | 908 | else |
|
909 | 909 | issues_map[issue.id] = new_issue unless new_issue.new_record? |
|
910 | 910 | end |
General Comments 0
You need to be logged in to leave comments.
Login now