mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Fixed mistake with InstanceIdentifier
This commit is contained in:
@@ -72,7 +72,7 @@ class Cart
|
||||
if ($instance instanceof InstanceIdentifier)
|
||||
{
|
||||
$this->discount = $instance->getInstanceGlobalDiscount();
|
||||
$this->instance = $instance->getInstanceIdentifier();
|
||||
$instance = $instance->getInstanceIdentifier();
|
||||
}
|
||||
|
||||
$this->instance = sprintf('%s.%s', 'cart', $instance);
|
||||
|
||||
Reference in New Issue
Block a user