diff --git a/include/bd_pdo_rest.php b/include/bd_pdo_rest.php index 9956764..d7082a9 100644 --- a/include/bd_pdo_rest.php +++ b/include/bd_pdo_rest.php @@ -1,5 +1,6 @@ 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!= ""){ -
+
diff --git a/rest/horarios.php b/rest/horarios.php
index 4f9a929..f2fe335 100644
--- a/rest/horarios.php
+++ b/rest/horarios.php
@@ -283,7 +283,6 @@ try{
$hashes_no_en_sgu = array_udiff($hashes_bd, $hashes_sgu, function($a, $b){
return strcasecmp(quitaAcentos($a), quitaAcentos($b));
});
-
if($debug) echo "hashes_no_en_sgu ".count($hashes_no_en_sgu)."
";
@@ -319,12 +318,10 @@ try{
// Encontrar los "hash" que están en $sgu pero no están en $bd
//$hashes_no_en_bd = array_udiff($hashes_sgu, $hashes_bd, 'strcasecmp');
- //comparar $hashes_sgu y $hashes_bd sin importar las maypusculas, minúsculas incluyendo acentos y ñ
$hashes_no_en_bd = array_udiff($hashes_sgu, $hashes_bd, function($a, $b){
return strcasecmp(quitaAcentos($a), quitaAcentos($b));
});
-
//echo "hashes_no_en_bd ".count($hashes_no_en_bd)."
";
@@ -445,4 +442,4 @@ try{
}
-?>
\ No newline at end of file
+?>
diff --git a/supervisor.php b/supervisor.php
index ea76180..97dd0fe 100644
--- a/supervisor.php
+++ b/supervisor.php
@@ -815,4 +815,4 @@