Added a default value for getConsumedCoupons()

This commit is contained in:
Franck Allimant
2014-07-22 18:58:55 +02:00
parent b74d5d9a34
commit 6273179986

View File

@@ -270,6 +270,6 @@ class Session extends BaseSession
*/
public function getConsumedCoupons()
{
return $this->get('thelia.consumed_coupons');
return $this->get('thelia.consumed_coupons', array());
}
}