Skip to content

Commit

Permalink
filter: change %d to %s, we can print a number as string too
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Jun 29, 2018
1 parent c3a4e45 commit 78d84c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/filter.inc
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ function filter_configure_sync($verbose = false, $flush_states = false)
$line_number = $line_error[1];
$line_split = file('/tmp/rules.debug');
if (is_array($line_split)) {
$config_line_error = sprintf(' - ' . gettext('The line in question reads [%d]: %s'), $line_number, $line_split[$line_number-1]);
$config_line_error = sprintf(' - ' . gettext('The line in question reads [%s]: %s'), $line_number, $line_split[$line_number-1]);
}
}

Expand Down

0 comments on commit 78d84c7

Please sign in to comment.