Pull requests

#1 Merged
Repository
tannermares tannermares
Branch
random-post-fix
Repository
atog atog
Branch
master

Fixed Infinite Loop when only one post exists

Author
  1. Tanner Mares
Reviewers
Description

I found on the index page, that if only one post exists a while loop will be triggered infinitely. I resolved this error and added a check if random is never set.

Comments (1)