diff --git a/openquake/server/views.py b/openquake/server/views.py
index <HASH>..<HASH> 100644
--- a/openquake/server/views.py
+++ b/openquake/server/views.py
@@ -360,8 +360,8 @@ def run_calc(request):
     user = utils.get_user_data(request)
 
     try:
-        job, _fut = submit_job(einfo[0], temp_dir, request.POST['database'],
-                               user['name'], callback_url, hazard_job_id)
+        job, _fut = submit_job(einfo[0], temp_dir, user['name'], callback_url,
+                               hazard_job_id)
     except Exception as exc:  # no job created, for instance missing .xml file
         # get the exception message
         exc_msg = exc.args[0]
Fixed bug introduced by the removal of dbname


Former-commit-id: 2d<I>cd<I>e7d<I>ab<I>e5d4ed<I>c<I>a0c3f<I>