We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b350f commit a256712Copy full SHA for a256712
Controller/CRUDController.php
@@ -221,7 +221,7 @@ public function deleteAction($id)
221
/**
222
* Edit action.
223
*
224
- * @param int|string|null $id Optional ID to use instead of globally provided default.
+ * @param int|string|null $id
225
226
* @return Response|RedirectResponse
227
@@ -234,7 +234,7 @@ public function editAction($id = null)
234
// the key used to lookup the template
235
$templateKey = 'edit';
236
237
- $id = $id ?: $request->get($this->admin->getIdParameter());
+ $id = $request->get($this->admin->getIdParameter());
238
$object = $this->admin->getObject($id);
239
240
if (!$object) {
0 commit comments