Skip to content

Commit

Permalink
pkp/pkp#8733 Keep compatibility with PHP 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Mar 23, 2023
1 parent 290a639 commit 781a93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/cache/FileCache.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function __construct($context, $cacheId, $fallback, $path) {
});
try {
$this->cache = include $this->filename;
} catch (Exception) {
} catch (Exception $e) {
$this->cache = null;
} finally {
set_error_handler($previousHandler);
Expand Down

0 comments on commit 781a93d

Please sign in to comment.