#994402 by das-peter, Dave Reid: Fixed Prevent error in menu_attributes_menu_link_alter() if an attribute is not a string.