Project

General

Profile

Defect #18605

Updated by Jean-Philippe Lang about 10 years ago

logger.info (instead of logger.info?) can trigger an error 

 Line 185 : 
 <pre><code class="ruby">logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info 
 </code></pre> </code><pre> 

 replace by : 
 <pre><code class="ruby">logger.info "time entry could not be updated: #{time_entry.errors.full_messages}" if logger && logger.info? 
 </code></pre> </code><pre> 



Back