diff --git a/web/pgadmin/tools/restore/static/js/restore.js b/web/pgadmin/tools/restore/static/js/restore.js index d8a7b04e..24cf0784 100644 --- a/web/pgadmin/tools/restore/static/js/restore.js +++ b/web/pgadmin/tools/restore/static/js/restore.js @@ -105,7 +105,7 @@ define('tools.restore', [ extraData['database'] = treeInfo.database._label; if('schema' in treeInfo) { - extraData['schemas'] = treeInfo.schema._label; + extraData['schemas'] = [treeInfo.schema._label]; } if('table' in treeInfo) {