/** * Check if number of street lines is non-zero * * @param Mage_Customer_Model_Attribute $attribute * @return Mage_Customer_Model_Attribute */ public function processStreetAttribute(Mage_Customer_Model_Attribute $attribute) { if ($attribute->getScopeMultilineCount() <= 0) { $attribute->setScopeMultilineCount(self::DEFAULT_STREET_LINES_COUNT); } return $attribute; }