diff --git a/importexport/inc/class.importexport_definitions_bo.inc.php b/importexport/inc/class.importexport_definitions_bo.inc.php index aa3885172b..dae7f8fc3b 100644 --- a/importexport/inc/class.importexport_definitions_bo.inc.php +++ b/importexport/inc/class.importexport_definitions_bo.inc.php @@ -44,6 +44,7 @@ class importexport_definitions_bo { public function get_rows(&$query, &$rows, &$readonlys) { + $sql = ''; // Filter only definitions user is allowed to use if(!$GLOBALS['egw_info']['user']['apps']['admin']) { $this_membership = $GLOBALS['egw']->accounts->memberships($GLOBALS['egw_info']['user']['account_id'], true); diff --git a/importexport/js/app.ts b/importexport/js/app.ts index a9f5d42905..598e77d3bc 100644 --- a/importexport/js/app.ts +++ b/importexport/js/app.ts @@ -226,7 +226,7 @@ class ImportExportApp extends EgwApp open_definition(event, widget) { const mgr = widget.getArrayMgr("content"); - const data = mgr.getEntry(mgr.perspectiveData.row) || {}; + const data = mgr.getEntry("" + mgr.perspectiveData.row) || {}; const type = data.type || ""; const application = data.application || ""; const definition_id = data.definition_id || "";