Commit 395d0d20 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) small model fixes

parent bf62984d
...@@ -44,7 +44,7 @@ class CaptivePortal extends BaseModel ...@@ -44,7 +44,7 @@ class CaptivePortal extends BaseModel
public function getByZoneID($zoneid) public function getByZoneID($zoneid)
{ {
foreach ($this->zones->zone->__items as $zone) { foreach ($this->zones->zone->__items as $zone) {
if ($zoneid == (string)$zone->zoneid) { if ((string)$zoneid === (string)$zone->zoneid) {
return $zone; return $zone;
} }
} }
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</filters> </filters>
</interfaces> </interfaces>
<authservers type="AuthenticationServerField"> <authservers type="AuthenticationServerField">
<Required>Y</Required> <Required>N</Required>
<multiple>Y</multiple> <multiple>Y</multiple>
<default>Local Database</default> <default>Local Database</default>
</authservers> </authservers>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment