crash backup
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2025-03-21 02:48:20 +00:00
parent 0460a56a2d
commit ea8031ff21

View File

@ -77,7 +77,7 @@ final class BackendController extends Controller
$view->data['rep'] = SalesRepMapper::get()
->with('main')
->where('id', (int) $request->getData('id'))
->where('id', $request->getDataInt('id') ?? 0)
->execute();
return $view;