Commit 0d156356 authored by Ivan Tyagov's avatar Ivan Tyagov

Fall back values if not preferences yet.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36276 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d2cef88f
......@@ -66,8 +66,10 @@ def getPreferredForumSignature(username):\n
preference_state=\'enabled\')\n
if preference is not None:\n
return {\'preferred_forum_signature\': preference.getProperty(\'preferred_forum_signature\', None),\n
\'preferred_forum_quote_original_message\': preference.getProperty(\'preferred_forum_quote_original_message\', None),\n
\'preferred_forum_quote_original_message\': preference.getProperty(\'preferred_forum_quote_original_message\', False),\n
}\n
else:\n
return {}\n
\n
getPreferredForumSignature = CachingMethod(getPreferredForumSignature,\n
("ERP5Site_getUserPreferredForumSettingsDict", username),\n
......
62
\ No newline at end of file
64
\ 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