Update AttributeWizard.php

Now, not ever $arrLegends is an array. Check about array,