There was an error while loading. Please reload this page.
1 parent 4508c2b commit f7a7e56Copy full SHA for f7a7e56
1 file changed
src/Crud/Crud.php
@@ -822,7 +822,7 @@ protected function load(): void
822
$session = $this->container->get('request_stack')->getCurrentRequest()->getSession();
823
$object = $session->get($this->getSessionName()); // Load from session
824
825
- if (!empty($object)) {
+ if ($object instanceof CrudSession) {
826
$this->sessionValues = $object;
827
$this->checkCrudSession();
828
0 commit comments