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.