I'm trying to set a null value on a Model column but it gets ignored and it doesn't update.
if($rol_colegio)
$update_pl['rol_colegio'] = $rol_colegio; //$rol_colegio may be null
$usuario->update($update_pl);
The data does get updated successfully when I try to use non-null data, but if the variable is null this entry doesn't get updated.
What would be the cause of this?