From e01570e18b44577ecca56eeefdcc024b1fb2df2b Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 21 Jan 2013 19:46:00 +0000 Subject: [PATCH] Just the first line is interesting here --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index c6ad15bb7f..72a593664d 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -312,7 +312,7 @@ function filter_configure_sync($delete_states_if_needed = true) { * then output the contents of the error to the caller */ if($rules_loading <> 0) { - $line_error = explode(":", $rules_error); + $line_error = explode(":", $rules_error[0]); $line_number = $line_error[1]; $line_split = file("{$g['tmp_path']}/rules.debug"); if(is_array($line_split))