add null value to set() function
parent
4b8a2a94e3
commit
08cc4e0383
|
@ -361,6 +361,8 @@ private $control_fields = array(
|
|||
$this->{$k} = $v;
|
||||
} else if ( is_bool( $v ) ) {
|
||||
$this->{$k} = $v;
|
||||
} else if ( is_null( $v ) ) {
|
||||
$this->{$k} = $v;
|
||||
} else {
|
||||
Error( "Unknown type $k => $v of var " . gettype( $v ) );
|
||||
$this->{$k} = $v;
|
||||
|
|
Loading…
Reference in New Issue