HackThis/hackthis.co.uk — pull request #99 by doronlinder (2014-03-21 21:06:22+00:00)
Title: Fixing undefined offset 0 when there are no articles

When there are no articles (new user after fresh clone) getArticles return an empty array so the property article in the first position isn't set so the html shouldn't be rendered at all. The undefined offset 0 warning and subsequent errors could be seen in the error log though its effect didn't show visually in the page.