Skip to content

Commit 7249361

Browse files
committed
fix: read() should return false if lockSession() failed
1 parent c921825 commit 7249361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Session/Handlers/RedisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function read($id)
176176
return $data;
177177
}
178178

179-
return '';
179+
return false;
180180
}
181181

182182
/**

0 commit comments

Comments
 (0)