Project

General

Profile

« Previous | Next » 

Revision 24f2fa1d

Added by Jim Pingle over 15 years ago

Fix bug where the last line of the filter log wasn't displayed in WebGUI.

View differences:

etc/inc/filter_log.inc
88 88
function collapse_filter_lines($logarr) {
89 89
	$lastline = "";
90 90
	$collapsed = array();
91
	/* Stick a blank entry at the end to be sure we always fully parse the last entry */
92
	$logarr[] = "";
91 93
	foreach ($logarr as $logent) {
92 94
		$line_split = "";
93 95
		preg_match("/.*\spf:\s(.*)/", $logent, $line_split);

Also available in: Unified diff