diff --git a/dashboard/templates.php b/dashboard/templates.php index c5659d1c..43b87d66 100644 --- a/dashboard/templates.php +++ b/dashboard/templates.php @@ -1139,6 +1139,7 @@ function dolicart_display($content) { } else { $object = doliConnect('order', $current_user, false, esc_attr(isset($_GET["refresh"]) ? $_GET["refresh"] : null)); $request = "/orders/".$object->id."?contact_list=0"; + $object = callDoliApi("GET", $request, null, dolidelay('cart', esc_attr(isset($_GET["refresh"]) ? $_GET["refresh"] : null))); $module = 'orders'; $id = $object->id; }