mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make rule_columns_with_alias end params optional
Stops PHP warnings like reported in forum https://forum.pfsense.org/index.php?topic=111768.0
This commit is contained in:
parent
361b388b44
commit
4680f6bf75
@ -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'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user