Enviado por adm el 2023, Octubre 23 - 16:25
nodetpllllllllllll
FIX CENTRO MEDICO EN EVALUADO
';
if(isset($_POST['Cambiar'])) {
$e=node_load($_POST['cm']);
dpm($e);
if($e->type!="afiliado") return "NO ES AFILIADO";
$e->field_centro_medico['und'][0]['target_id']=$_POST['afiliado'];