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
public function getByZoneID($zoneid)
{
foreach ($this->zones->zone->__items as $zone) {
if ($zoneid == (string)$zone->zoneid) {
if ((string)$zoneid === (string)$zone->zoneid) {
return $zone;
}
}
......
......@@ -26,7 +26,7 @@
</filters>
</interfaces>
<authservers type="AuthenticationServerField">
<Required>Y</Required>
<Required>N</Required>
<multiple>Y</multiple>
<default>Local Database</default>
</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