function update($new_instance, $old_instance) { $instance = parent::update($new_instance, $old_instance); $instance['well'] = (bool) $new_instance['well']; return $instance; }
function update($new_instance, $old_instance) { $instance = parent::update($new_instance, $old_instance); $instance['access'] = $new_instance['access']; $instance['have'] = $new_instance['have']; $instance['not_have'] = $new_instance['not_have']; return $instance; }