mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Fin
This commit is contained in:
@ -173,7 +173,7 @@ class Maquinasdefecto extends \App\Controllers\GoBaseResourceController {
|
||||
// JJO: se añade que se checkeen los intervalos de ancho y tirada.
|
||||
// En caso de error se devuelve un mensaje.
|
||||
try {
|
||||
$error = $this->model->checkIntervals($sanitizedData);
|
||||
$error = $this->model->checkIntervals($sanitizedData, $id);
|
||||
if(empty($error)){
|
||||
$successfulResult = $this->model->skipValidation(true)->update($id, $sanitizedData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user