Skip to content

Commit 3210674

Browse files
committed
fix: session druver database wrong delete command
1 parent 7416df7 commit 3210674

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/session/drivers/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function save(array $session, array $config, $exists)
7777
*/
7878
public function delete($id)
7979
{
80-
$this->table()->delete($id);
80+
$this->table()->where('id', $id)->delete();
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)