Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
esyede committed Oct 28, 2023
1 parent c1aa1e8 commit 950801e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/cache/drivers/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function forget($key)
protected function table()
{
$db = Config::get('cache.database');
$connection = isset($db['connection']) ? $db['connection'] : null;
return DB::connection($connection)->table($db['table']);
$db['connection'] = isset($db['connection']) ? $db['connection'] : null;
return DB::connection($db['connection'])->table($db['table']);
}
}

0 comments on commit 950801e

Please sign in to comment.