Correcciones
This commit is contained in:
@@ -191,9 +191,9 @@ try{
|
||||
|
||||
//Recorre SGU y genera hash
|
||||
foreach( $selectedData as $row ){
|
||||
//if ($debug)
|
||||
// echo trim($row["HoraInicio"]."|".($row["NombreMateria"])."|".(trim($row["ClaveProfesor"])==""?"000000":trim($row["ClaveProfesor"]))."|".$row["IdEspacio"]."|".$per["periodo_id"]."|".$row["Carrera"])."[{$row["ClaveCarrera"]}]|{$row["EsMateriaPorReposicion"]}*";
|
||||
|
||||
/*if ($debug)
|
||||
echo trim($row["HoraInicio"]."|".(trim($row["ClaveMateria"])==''?'-':$row["ClaveMateria"])."|".($row["NombreMateria"])."|".(trim($row["ClaveProfesor"])==""?"000000":trim($row["ClaveProfesor"]))."|".$row["IdEspacio"]."|".$per["periodo_id"]."|".$row["Carrera"])." [{$row["ClaveCarrera"]}] *{$row["EsMateriaPorReposicion"]}*<br>";
|
||||
*/
|
||||
if(!$row["EsMateriaPorReposicion"]){
|
||||
$carrera = $row["ClaveCarrera"];
|
||||
if(is_null($carrera) || empty($carrera))
|
||||
@@ -204,7 +204,7 @@ try{
|
||||
}*/
|
||||
|
||||
$sguHash[] = array(
|
||||
"hash"=>( trim($row["HoraInicio"]."|".($row["ClaveMateria"])."|".($row["NombreMateria"])."|".(trim($row["ClaveProfesor"])==""?"000000":trim($row["ClaveProfesor"]))."|".$row["IdEspacio"]."|".$per["periodo_id"]."|".$row["Carrera"]) ),
|
||||
"hash"=>( trim($row["HoraInicio"]."|".(trim($row["ClaveMateria"])==''?'-':$row["ClaveMateria"])."|".($row["NombreMateria"])."|".(trim($row["ClaveProfesor"])==""?"000000":trim($row["ClaveProfesor"]))."|".$row["IdEspacio"]."|".$per["periodo_id"]."|".$row["Carrera"]) ),
|
||||
"data"=>$row,
|
||||
"per"=>$per["periodo_id"]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user