diff --git a/app/code/core/Mage/Core/Model/Resource/Session.php b/app/code/core/Mage/Core/Model/Resource/Session.php
index d5d0ad4962dd..520fcef21e51 100644
--- a/app/code/core/Mage/Core/Model/Resource/Session.php
+++ b/app/code/core/Mage/Core/Model/Resource/Session.php
@@ -215,7 +215,7 @@ public function read($sessId)
$data = $this->_read->fetchOne($select, $bind);
- return $data;
+ return (string)$data;
}
/**
diff --git a/app/code/core/Mage/Sales/etc/config.xml b/app/code/core/Mage/Sales/etc/config.xml
index 6f3d02351563..5f86f2171560 100644
--- a/app/code/core/Mage/Sales/etc/config.xml
+++ b/app/code/core/Mage/Sales/etc/config.xml
@@ -1218,7 +1218,7 @@
sales/quote_address_total_shipping
- subtotal,freeshipping,tax_subtotal
+ subtotal,freeshipping,tax_subtotal,msrp
grand_total
@@ -1227,6 +1227,7 @@
sales/quote_address_total_msrp
+ grand_total