Commit 0c759419 authored by Romain Courteaud's avatar Romain Courteaud

Fix wrong assumption

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27582 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a3933d63
......@@ -68,7 +68,7 @@ if person_value is None:\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=N_("No person found for your user")))\n
\n
if person_value.getDefaultEmailText(\'\') not in (\'\', None):\n
if person_value.getDefaultEmailText(\'\') in (\'\', None):\n
portal.changeSkin(None)\n
return context.Base_redirect(\'view\', keep_items=dict(\n
portal_status_message=N_("You haven\'t defined your email address")))\n
......
54
\ No newline at end of file
55
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment