Skip to content

Instantly share code, notes, and snippets.

@ingliths
Created April 14, 2020 16:35
Show Gist options
  • Select an option

  • Save ingliths/86671b83163d086936ba266baca45bc9 to your computer and use it in GitHub Desktop.

Select an option

Save ingliths/86671b83163d086936ba266baca45bc9 to your computer and use it in GitHub Desktop.
if(!empty($this->request->data['Agendamento']['declaracao_medica']['name'])){
$this->uploadArquivoAgendamento('dm', 'declaracao_medica');
}else{
$this->request->data['Agendamento']['declaracao_medica'] = null;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment