Skip to content

Commit

Permalink
user: Treat empty readposts cookie as its absence
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Jul 31, 2014
1 parent 5742d94 commit 1469cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user.d
Expand Up @@ -81,7 +81,7 @@ final:
if (!readPosts)
{
auto b64 = get("readposts", null);
if (b64)
if (b64.length)
{
// Temporary hack to catch Phobos bug
ubyte[] zcode;
Expand Down

0 comments on commit 1469cc5

Please sign in to comment.