Revision 51572
Added by Sandro La Bruzzo over 6 years ago
modules/dli-service-portal/trunk/DLI.py | ||
---|---|---|
91 | 91 |
if identifier: |
92 | 92 |
object_type = request.form.get('type') |
93 | 93 |
start = request.form.get('from') |
94 |
if len(object_type) == 0: |
|
94 |
if object_type and len(object_type) == 0:
|
|
95 | 95 |
object_type = None |
96 | 96 |
if len(start) == 0: |
97 | 97 |
start = None |
Also available in: Unified diff
fix null pointer Exception