Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 1417 | Rev 1422 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1417 Rev 1418
Línea 216... Línea 216...
216
                $hydrator->hydrate($dataPost, $location);
216
                $hydrator->hydrate($dataPost, $location);
Línea 217... Línea 217...
217
                
217
                
218
                $locationMapper= LocationMapper::getInstance($this->adapter);
218
                $locationMapper= LocationMapper::getInstance($this->adapter);
Línea -... Línea 219...
-
 
219
                $result = $locationMapper->insert($location);
-
 
220
 
-
 
221
                if (!$result) {
-
 
222
                    return new JsonModel([
-
 
223
                        'success'   => false,
-
 
224
                        'data'   => [
-
 
225
                            'success'   => false,
-
 
226
                            'data' => 'ERROR_THERE_WAS_AN_ERROR'
-
 
227
                        ]
-
 
228
                    ]);
-
 
229
                }
Línea 219... Línea 230...
219
                $result = $locationMapper->insert($location);
230
 
220
 
231
                $recruitmentForm->location_id = $location->id;
221
 
232
 
222
                if (!$recruitmentForm->status) {
233
                if (!$recruitmentForm->status) {