mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Import/Export: Avoid "Undefined variable: filter" error
This commit is contained in:
parent
9219536c2f
commit
d57df627a7
@ -93,8 +93,11 @@ class importexport_definition implements importexport_iface_egw_record {
|
|||||||
{
|
{
|
||||||
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
$options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] );
|
||||||
$this->definition['plugin_options'] = (array)$options_data['root'];
|
$this->definition['plugin_options'] = (array)$options_data['root'];
|
||||||
if($this->definition['filter']) $filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
if($this->definition['filter'])
|
||||||
$this->definition['filter'] = $filter['root'];
|
{
|
||||||
|
$filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
||||||
|
$this->definition['filter'] = $filter['root'];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Throwable $e)
|
catch (Throwable $e)
|
||||||
{
|
{
|
||||||
|
25
lit-element-starter-ts/src/my-input.ts
Normal file
25
lit-element-starter-ts/src/my-input.ts
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
/**
|
||||||
|
* @license
|
||||||
|
* Copyright 2019 Google LLC
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
*/
|
||||||
|
|
||||||
|
import {LitElement, html, css} from 'lit';
|
||||||
|
import {customElement, property} from 'lit/decorators.js';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An example element.
|
||||||
|
*
|
||||||
|
* @slot - This element has a slot
|
||||||
|
* @csspart button - The button
|
||||||
|
*/
|
||||||
|
@customElement('my-input')
|
||||||
|
export class MyInput extends LitElement {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
declare global {
|
||||||
|
interface HTMLElementTagNameMap {
|
||||||
|
'my-input': MyInput;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user