statedecoded/statedecoded — pull request #465 by rtsio (2013-10-14 18:20:47+00:00)
Title: Added checking for empty structure labels and fixed spacing

Under strange circumstances, $structure's first element is an object with only 'level' set. Thus, when the comparison `$level->label !== $struct->label` returns true because $level->label doesn't actually exist/is empty (not sure if isset should be used here), a blank label is returned.