shish/shimmie2 — pull request #358 by jgen (2013-12-06 00:57:34+00:00)
Title: PHP Notice being generated in comment.php

Fix for PHP Notice being generated.

```
PHP Notice: Trying to get property of non-object in /comment/main.php on line 325
```

Details: We don't need to try and get comments for images that don't exist. This might also help speed things up a bit as it should eliminate an unnecessary database query.