diff --git a/README.md b/README.md index f2b1b2d..2169f7b 100755 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Eventualmente se Agregará el cronómetro y el botón de cierre de sesión. ### ## Descarga -[Versión Estable](https://github.com/fauzcategui/moodle-sence/archive/v2.0.1.zip) +[Versión Estable](https://github.com/fauzcategui/moodle-sence/archive/v2.0.2.zip) ## Configuración General diff --git a/engine.php b/engine.php old mode 100644 new mode 100755 index 09e6098..971ed2e --- a/engine.php +++ b/engine.php @@ -247,8 +247,8 @@ private function asistencia_form(){ - - + +
@@ -308,8 +308,8 @@ private function info_otec(){ $otec = $this->get_instance_config('otec') ? $this->get_instance_config('otec') : 'XX;YY'; $t = explode(';', $otec); if( count($t) == 2 ){ - $result['rut'] = $t[0]; - $result['token'] = $t[1]; + $result['rut'] = trim( $t[0] ); + $result['token'] = trim( $t[1] ); } return $result; } diff --git a/version.php b/version.php index 68997f7..0e58fda 100755 --- a/version.php +++ b/version.php @@ -23,6 +23,6 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2021021601; +$plugin->version = 2021021602; $plugin->requires = 2019111200; $plugin->component = 'block_sence';