mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Importexport: Fix first definition in list could not be executed directly with type button
CreateObject(importexport__ui) file /var/www/epl-trunk/importexport/inc/class.importexport__ui.inc.php not found! (100)
This commit is contained in:
parent
5a777b9e79
commit
f3568fdcd9
@ -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);
|
||||
|
@ -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 || "";
|
||||
|
Loading…
Reference in New Issue
Block a user