From: jdegraeve Date: Thu, 2 Mar 2006 15:26:03 +0000 (+0000) Subject: Add failsafe to attributes when argument isn't sent X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75327ab3ee69252a8172c3304cd8a3e333ec500d;p=m0n0chwall.git Add failsafe to attributes when argument isn't sent git-svn-id: https://svn.m0n0.ch/wall/trunk@94 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- diff --git a/captiveportal/index.php b/captiveportal/index.php index db28cec..2977695 100755 --- a/captiveportal/index.php +++ b/captiveportal/index.php @@ -232,7 +232,7 @@ function portal_mac_radius($clientmac,$clientip) { return FALSE; } -function portal_allow($clientip,$clientmac,$clientuser,$password = null, $attributes) { +function portal_allow($clientip,$clientmac,$clientuser,$password = null, $attributes = null) { global $redirurl, $g, $config;