summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-05-13 16:46:36 +0930
committerChris Buechler <cmb@pfsense.org>2016-05-13 04:01:40 -0500
commit4680f6bf755fa7d323beba599ea94646d2d5f3bb (patch)
treea1f11fc2d287e8296eadadf3225d4785b7e6d62a /src
parent361b388b4471d1b4a61d83d6003b68bd375c6058 (diff)
downloadpfsense-4680f6bf755fa7d323beba599ea94646d2d5f3bb.zip
pfsense-4680f6bf755fa7d323beba599ea94646d2d5f3bb.tar.gz
Make rule_columns_with_alias end params optional
Stops PHP warnings like reported in forum https://forum.pfsense.org/index.php?topic=111768.0
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/guiconfig.inc2
1 files changed, 1 insertions, 1 deletions
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'])) {
OpenPOWER on IntegriCloud