Skip to content

Commit

Permalink
fix: failure when using sqlite3
Browse files Browse the repository at this point in the history
Fixes #171

Signed-off-by: Josh <josh.t.richards@gmail.com>
  • Loading branch information
joshtrichards authored and backportbot[bot] committed Sep 25, 2024
1 parent 4d5cf6b commit c0584bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Categories/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected function databaseSize() {
$database_size = filesize($this->config->getSystemValue('dbhost'));
} else {
/** @psalm-suppress UndefinedInterfaceMethod */
$params = $this->connection->getParams();
$params = $this->connection->getInner()->getParams();
if (file_exists($params['path'])) {
$database_size = filesize($params['path']);
}
Expand Down

0 comments on commit c0584bb

Please sign in to comment.