Commit 5eb788bf authored by Fabien Morin's avatar Fabien Morin

Correct a problem in fast inputs, thanks to mame for finding it.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22982 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b71cc36e
......@@ -80,12 +80,16 @@ listbox = getattr(request, \'listbox\', None) # Retrieve the fast input data if
\n
\n
def addPerson(first_name=None, last_name=None,\n
start_date=None, default_birthplace_address_city=None,\n
default_address_text=None, description=None, \n
start_date=None, default_birthplace_address_city=\'\',\n
default_address_text=\'\', description=None, \n
function=None, **kw):\n
"""\n
This creates a single temporary person with all appropriate parameters\n
"""\n
# don\'t add person if there is no first_name\n
if not first_name:\n
return\n
\n
global result_list\n
global uid\n
if not (first_name or last_name):\n
......
......@@ -80,12 +80,16 @@ listbox = getattr(request, \'listbox\', None) # Retrieve the fast input data if
\n
\n
def addPerson(first_name=None, last_name=None,\n
start_date=None, default_birthplace_address_city=None,\n
start_date=None, default_birthplace_address_city=\'\',\n
description=None, function=None, old_function=None,\n
new=None, going=None, maintained=None, modified=None, **kw):\n
"""\n
This creates a single temporary person with all appropriate parameters\n
"""\n
# don\'t add person if there is no first_name\n
if not first_name:\n
return\n
\n
global result_list\n
global uid\n
if not (first_name or last_name):\n
......
892
\ No newline at end of file
893
\ 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