]> git.gsnw.org Git - m0n0chwall.git/commitdiff
Add failsafe to attributes when argument isn't sent
authorjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Thu, 2 Mar 2006 15:26:03 +0000 (15:26 +0000)
committerjdegraeve <jdegraeve@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Thu, 2 Mar 2006 15:26:03 +0000 (15:26 +0000)
git-svn-id: https://svn.m0n0.ch/wall/trunk@94 e36fee2c-cc09-0410-a7cc-ebac5c6737de

captiveportal/index.php

index db28cecfbcc432d7a99dc1753d20093159d33905..29776955785e44a815cc135dd1dfd97a55912680 100755 (executable)
@@ -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;