From 4680f6bf755fa7d323beba599ea94646d2d5f3bb Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 13 May 2016 16:46:36 +0930 Subject: Make rule_columns_with_alias end params optional Stops PHP warnings like reported in forum https://forum.pfsense.org/index.php?topic=111768.0 --- src/usr/local/www/guiconfig.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/usr/local/www/guiconfig.inc b/src/usr/local/www/guiconfig.inc index 6fe86c0..578364b 100644 --- a/src/usr/local/www/guiconfig.inc +++ b/src/usr/local/www/guiconfig.inc @@ -1129,7 +1129,7 @@ function alias_info_popup($alias_id) { return $content; } -function rule_columns_with_alias($src, $srcport, $dst, $dstport, $target, $targetport) { +function rule_columns_with_alias($src, $srcport, $dst, $dstport, $target="", $targetport="") { global $config; if ($config['aliases']['alias'] == "" || !is_array($config['aliases']['alias'])) { -- cgit v1.1