This commit is contained in:
Administrador de Red 2021-09-03 16:55:23 -03:00
commit a6c43b4508
2 changed files with 11 additions and 9 deletions

View File

@ -236,21 +236,21 @@
nombre: Iván Angiono nombre: Iván Angiono
afiliacion: CIEM-FAMAF, Córdoba, Argentina afiliacion: CIEM-FAMAF, Córdoba, Argentina
web: web:
start: 2021-09-14T14:00-0300 start: 2021-09-16T14:00-0300
end: 2021-09-14T15:00-0300 end: 2021-09-16T15:00-0300
- titulo: Charla Premiado 3 - titulo: TBA
abstract: TBA abstract: TBA
speaker: speaker:
nombre: Luna Lomonaco nombre: Luna Lomonaco
afiliacion: IMPA, Río de Janeiro, Brasil afiliacion: IMPA, Río de Janeiro, Brasil
web: web:
start: 2021-09-15T14:00-0300 start: 2021-09-14T14:00-0300
end: 2021-09-15T15:00-0300 end: 2021-09-14T15:00-0300
- titulo: Charla Premiado 4 - titulo: TBA
abstract: TBA abstract: TBA
speaker: speaker:
nombre: Luis Núñez Betancourt nombre: Luis Núñez Betancourt
afiliacion: CIMAT, Guanajuato, México afiliacion: CIMAT, Guanajuato, México
web: web:
start: 2021-09-16T14:00-0300 start: 2021-09-15T14:00-0300
end: 2021-09-16T15:00-0300 end: 2021-09-15T15:00-0300

View File

@ -317,7 +317,9 @@ $app->group('/api', function($app){
$messages = $this->flash; $messages = $this->flash;
$data = $request->getParsedBody(); $data = $request->getParsedBody();
$db = $this->db; $db = $this->db;
if($this->settings['close_registration']){ $hoy=strtotime(date("Y-m-d H:i:s"));
$fechaCierre = strtotime($this->settings['close_registration']);
if($hoy>$fechaCierre){
$messages->addMessageNow("submit-register-err", "Registration has benn closed"); $messages->addMessageNow("submit-register-err", "Registration has benn closed");
} }
else{ else{