Cambio de ciclo de correo
This commit is contained in:
@@ -17,11 +17,12 @@ class MandaCorreos{
|
|||||||
$to = "alejandro.lara@lasalle.mx";
|
$to = "alejandro.lara@lasalle.mx";
|
||||||
}else{
|
}else{
|
||||||
if($tipo & self::COORDINADOR){
|
if($tipo & self::COORDINADOR){
|
||||||
$correos_rs = $db->querySingle("SELECT DISTINCT coor.usuario_correo FROM usuario coor
|
$correos_rs = $db->query("SELECT DISTINCT coor.usuario_correo FROM usuario coor
|
||||||
where rol_id = 9 and facultad_id = :fac
|
where rol_id = 9 and facultad_id = :fac
|
||||||
and coor.usuario_correo is not null and coor.usuario_correo != ''",
|
and coor.usuario_correo is not null and coor.usuario_correo != ''",
|
||||||
[':fac' => $facultad]
|
[':fac' => $facultad]
|
||||||
);
|
);
|
||||||
|
//print_r($correos_rs);
|
||||||
foreach($correos_rs as $correo){
|
foreach($correos_rs as $correo){
|
||||||
array_push($correos, $correo["usuario_correo"]);
|
array_push($correos, $correo["usuario_correo"]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user