update
This commit is contained in:
@@ -84,7 +84,7 @@ final class ProjectMappingController
|
||||
return Response::redirect('/settings/project-mappings');
|
||||
}
|
||||
|
||||
$id = (int) $request->param('id', '0');
|
||||
$id = (int) $request->input('id', '0');
|
||||
$pattern = trim((string) $request->input('product_name_pattern', ''));
|
||||
$scriptName = trim((string) $request->input('script_name', ''));
|
||||
$outputDir = trim((string) $request->input('output_dir', ''));
|
||||
@@ -111,7 +111,7 @@ final class ProjectMappingController
|
||||
return Response::redirect('/settings/project-mappings');
|
||||
}
|
||||
|
||||
$id = (int) $request->param('id', '0');
|
||||
$id = (int) $request->input('id', '0');
|
||||
if ($id > 0) {
|
||||
$this->repository->delete($id);
|
||||
Flash::set('settings_success', $this->translator->get('settings.project_mapping.flash.deleted'));
|
||||
@@ -127,7 +127,7 @@ final class ProjectMappingController
|
||||
return Response::redirect('/settings/project-mappings');
|
||||
}
|
||||
|
||||
$id = (int) $request->param('id', '0');
|
||||
$id = (int) $request->input('id', '0');
|
||||
if ($id > 0) {
|
||||
$this->repository->toggleActive($id);
|
||||
Flash::set('settings_success', $this->translator->get('settings.project_mapping.flash.toggled'));
|
||||
|
||||
Reference in New Issue
Block a user