MVC: while looking at https://github.com/opnsense/core/pull/4019 noticed a wrong security model for the multiselect toggle, which could lead to unaccesible data in portfield and modelfields.

(some php versions seem to ignore this)
This commit is contained in:
Ad Schellevis 2020-04-06 13:04:58 +02:00
parent 87d4bd4084
commit 29b1489fda

View File

@ -55,7 +55,7 @@ abstract class BaseListField extends BaseField
/**
* @var bool field may contain multiple interfaces at once
*/
private $internalMultiSelect = false;
protected $internalMultiSelect = false;
/**
* @var string default validation message string