File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Classes/Domain/Repository Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -427,8 +427,12 @@ protected function expandEntryData(array $entries)
427427 if ($ entries [$ i ]['extra_data ' ] === '' ) {
428428 $ extraData = '' ;
429429 } else {
430- $ extraData = gzuncompress ($ entries [$ i ]['extra_data ' ]);
431- $ extraData = htmlspecialchars (var_export (unserialize ($ extraData ), true ));
430+ try {
431+ $ extraData = gzuncompress ($ entries [$ i ]['extra_data ' ]);
432+ $ extraData = htmlspecialchars (var_export (unserialize ($ extraData ), true ));
433+ } catch (\Exception $ e ) {
434+ $ extraData = $ e ->getMessage ();
435+ }
432436 }
433437 $ entries [$ i ]['extra_data ' ] = $ extraData ;
434438 }
@@ -481,4 +485,4 @@ protected function getDatabaseConnection()
481485 {
482486 return $ GLOBALS ['TYPO3_DB ' ];
483487 }
484- }
488+ }
You can’t perform that action at this time.
0 commit comments