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 Sep 24, 2024
1 parent ba4dac1 commit 7ba11ca
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 @@ -119,7 +119,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 7ba11ca

Please sign in to comment.