diff --git a/action/rutas_salón_horario.php b/action/rutas_salón_horario.php index 6bd2c37..20422ce 100644 --- a/action/rutas_salón_horario.php +++ b/action/rutas_salón_horario.php @@ -68,7 +68,7 @@ try { 'horarios' => $db->query( "SELECT " . implode(', ', $columns) . << $db->getLastQuery(), - 'reposiciones' => /* $db->query( + 'reposiciones' => $db->query( 'SELECT ' . implode(', ', $columns) . << $_GET['bloque_horario_id'], 'id_espacio_sgu' => $ruta['id_espacio_sgu'], ] - ) */ [], + ), ], $ruta, ), @@ -143,4 +143,4 @@ try { 'error' => $th->getMessage(), ], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT); exit; -} +} \ No newline at end of file diff --git a/include/bd_pdo_rest.php b/include/bd_pdo_rest.php index 9956764..aade333 100644 --- a/include/bd_pdo_rest.php +++ b/include/bd_pdo_rest.php @@ -1,5 +1,5 @@ load(); use \SeinopSys\PostgresDb; diff --git a/reposiciones_autorizar.php b/reposiciones_autorizar.php index 38ff5c5..d8b762c 100644 --- a/reposiciones_autorizar.php +++ b/reposiciones_autorizar.php @@ -197,9 +197,9 @@ if($user->periodo_id!= ""){ -

+