Skip to content

Commit 4e6f21d

Browse files
committed
twin-elements/crud-logger: setting the correct log action in Page Delete Action.
1 parent f0dc34f commit 4e6f21d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Controller/Admin/PageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public function deleteAction(
320320
$em->remove($page);
321321
$em->flush();
322322

323-
$this->crudLogger->createLog(Page::class, CrudLogger::CreateAction, $id);
323+
$this->crudLogger->createLog(Page::class, CrudLogger::DeleteAction, $id);
324324

325325
$this->flashes->successMessage($this->adminTranslator->translate('admin.success_operation'));;
326326
} catch (\Exception $exception) {

0 commit comments

Comments
 (0)