Opened 4 years ago

Closed 4 years ago

#1486047 closed Bugs (fixed)

Blank line in error log

Reported by: netbit Owned by:
Priority: 7 Milestone: 0.3-stable
Component: PHP backend Version: git-master
Severity: minor Keywords:
Cc:

Description

Changeset 2792 (http://trac.roundcube.net/changeset/2792) introduces a blank line after every error log entry (via bugs.inc).

This small bug can be fixed by removing newline character '\n' from $log_entry variable in bugs.inc, because a newline is already added by write_log() function in main.inc.

Suggestion - Change bugs.inc line 76 from:

$log_entry = sprintf("%s Error: %s%s (%s %s)\n",

To:

$log_entry = sprintf("%s Error: %s%s (%s %s)",

Change History (1)

comment:1 Changed 4 years ago by thomasb

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [4a941f73]

Note: See TracTickets for help on using tickets.