Commit fdca0395 authored by Ivan Tyagov's avatar Ivan Tyagov

Catch use case when language is an empty string.

parent 1afbee91
......@@ -65,7 +65,7 @@ portal_catalog = portal.portal_catalog\n
valid_portal_type_list = (\'Notification Message\',)\n
\n
# Find the applicable language\n
if language is None:\n
if language in (None, \'\'):\n
language = portal.Localizer.get_selected_language()\n
\n
# Find the default language\n
......
987
\ No newline at end of file
988
\ 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