*/ class Mage_Paypal_Block_Express_Review_Shipping extends Mage_Checkout_Block_Onepage_Shipping { /** * Return Sales Quote Address model (shipping address) * * @return Mage_Sales_Model_Quote_Address */ public function getAddress() { if (is_null($this->_address)) { if ($this->isCustomerLoggedIn() || $this->getQuote()->getShippingAddress()) { $this->_address = $this->getQuote()->getShippingAddress(); } else { $this->_address = Mage::getModel('sales/quote_address'); } } return $this->_address; } }