From dcc50d34141a0a98572a9dc5ac868f68230e4b2b Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 4 Mar 2019 02:44:46 +0100 Subject: [PATCH] suite --- app/views/layouts/public.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 7b8518c..e78dd51 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -68,7 +68,7 @@ %span.remove=ic :times =flash[:alert] - -if !current_p_customer.account_validated + -if current_p_customer and !current_p_customer.account_validated .alert.alert-warning{:style => "margin:0;border-radius:0;"} Votre compte client n'a pas encore été validé, vous pouvez dès à présent découvrir nos produits. Notre service commercial validera votre compte dans les plus brefs délais.