splittingred/Gallery — pull request #267 by ianbrind (2013-06-25 12:02:38+00:00)
Title: Update snippet.gallery.php

Empty galleries return an empty string. ($data)
PHP throws a fatal error "Cannot use string offset as an array".

Added a type check to break.